]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyric-combine-empty-warning.ly
Fix 1477: Update regtests to suppress expected warnings
[lilypond.git] / input / regression / lyric-combine-empty-warning.ly
index 59c68ca4253bb08734197bfb850a96198bec15d7..ea797526dc84684efa670b7c587076e5dd381b8a 100644 (file)
@@ -1,5 +1,8 @@
 \version "2.15.5"
 
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (ly:translate-cpp-warning-scheme "cannot find Voice `%s'") "not-existing-notes")
+
 \header {
 
   texidoc = "If lyrics are assigned to a non-existing voice, a warning should
@@ -8,7 +11,6 @@ no warning should be printed."
 
 }
 
-#(ly:set-option 'warning-as-error #f)
 <<
   \new Staff
     \new Voice = "notes" {