]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/clef-warn.ly
Fix 1477: Update regtests to suppress expected warnings
[lilypond.git] / input / regression / clef-warn.ly
index c37ea4df976a39e68c6cb02ee5555b489dadcd6f..986a6520f4ca4ba88ac64841dc2fd70a23296256 100644 (file)
@@ -1,6 +1,9 @@
-\version "2.12.0"
+\version "2.14.0"
 
 #(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "unknown clef type `~a'") "foo")
+% We don't need to match the whole list of clefs, the beginning will suffice
+#(ly:expect-warning (_ "supported clefs: ~a") "C F G G2")
 
 \header {
   texidoc = "Unknown clef name warning displays available clefs"
@@ -8,5 +11,5 @@
 
 {
   \clef "foo"
-  c1
+  c4
 }