-\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 {
}
-#(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" { }
>>