X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Flyric-combine-empty-warning.ly;h=2f3898824376bc09e453d55943332952ed9509b0;hb=403ae3c68aae09218703a7d8cc7df3d30e6d7b92;hp=59c68ca4253bb08734197bfb850a96198bec15d7;hpb=dcca081b1904b4db09658657631d919f280c06d2;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" { } >>