]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyric-combine-empty-warning.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / lyric-combine-empty-warning.ly
index 59c68ca4253bb08734197bfb850a96198bec15d7..2f3898824376bc09e453d55943332952ed9509b0 100644 (file)
@@ -1,4 +1,7 @@
-\version "2.15.5"
+\version "2.19.2"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (ly:translate-cpp-warning-scheme "cannot find Voice `%s'") "not-existing-notes")
 
 \header {
 
@@ -8,16 +11,15 @@ no warning should be printed."
 
 }
 
-#(ly:set-option 'warning-as-error #f)
 <<
   \new Staff
     \new Voice = "notes" {
       c1
     }
   % This should not give a warning (empty lyrics, existing voice):
-  \new Lyrics \lyricsto "notes" \lyricmode { }
+  \new Lyrics \lyricsto "notes" { }
   % This should give a warning (non-existing voice):
-  \new Lyrics \lyricsto "not-existing-notes" \lyricmode { Test }
+  \new Lyrics \lyricsto "not-existing-notes" { Test }
   % This should NOT give a warning (non-existing voice, but also no lyrics):
-  \new Lyrics \lyricsto "not-existing-notes" \lyricmode { }
+  \new Lyrics \lyricsto "not-existing-notes" { }
 >>