]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-switch-invalid-warning.ly
Issue 1388: Initial work to support opentype font features.
[lilypond.git] / input / regression / instrument-switch-invalid-warning.ly
index 038dbcb2aa5367f32f8c6d4d6d13916c8b4fc631..0ef544cc3d60d474cda1ebd42963f1b1a028c32a 100644 (file)
@@ -1,5 +1,6 @@
-\version "2.14.0"
+\version "2.19.21"
 #(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "No such instrument: ~a") "bassClar")
 
 \header {
   texidoc = "The @code{switchInstrument} music function prints a warning if
@@ -8,7 +9,7 @@ the given instrument definition does not exist."
 
 \relative
 {
-  c4
+  c'4
   \instrumentSwitch "bassClar"
   c
 }