X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flyric-combine-empty-warning.ly;h=2f3898824376bc09e453d55943332952ed9509b0;hb=c40332b19b2224385f4221ede8fc29e57bbc3b01;hp=59c68ca4253bb08734197bfb850a96198bec15d7;hpb=10267f06f910f763196b391bd2bc664db7a78e0a;p=lilypond.git diff --git a/input/regression/lyric-combine-empty-warning.ly b/input/regression/lyric-combine-empty-warning.ly index 59c68ca425..2f38988243 100644 --- a/input/regression/lyric-combine-empty-warning.ly +++ b/input/regression/lyric-combine-empty-warning.ly @@ -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" { } >>