X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finvalid-engraver.ly;h=b83befbae28ec1e8817e6179a65310ab99cde05d;hb=f75eceb27a4b630d4e898b1d93e3b051f969ff5e;hp=ecead3955d951a5cb924d4f52473a5557e20c353;hpb=7aca33f5805fcf6af6ccc1fa722abbfbb9b26ee6;p=lilypond.git diff --git a/input/regression/invalid-engraver.ly b/input/regression/invalid-engraver.ly index ecead3955d..b83befbae2 100644 --- a/input/regression/invalid-engraver.ly +++ b/input/regression/invalid-engraver.ly @@ -1,20 +1,18 @@ -\version "2.12.0" +\version "2.16.0" + +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (ly:translate-cpp-warning-scheme "unknown translator: `%s'") "Rhythmic_column_engraver_foo") +#(ly:expect-warning (ly:translate-cpp-warning-scheme "cannot find: `%s'") "Rhythmic_column_engraver_foo") \header { - texidoc="Engravers which do not exist are simply ignored" + texidoc = "Engravers which do not exist produce a warning." } -\layout { \context { - \name ImproVoice - \type "Engraver_group" - \consists "Rhythmic_column_engraver_foo" % "typo" here +\layout { + \context { + \Voice + \consists "Rhythmic_column_engraver_foo" + } } -\context { \Staff - \accepts "ImproVoice" -}} -\relative c'' { - a4 d8 bes8 \new ImproVoice { c4^"ad lib" c - c4 c^"undress" c_"while playing :)" c } - a1 -} \ No newline at end of file +{ a4 }