X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclef-warn.ly;h=986a6520f4ca4ba88ac64841dc2fd70a23296256;hb=af60e9b57f205a3c2e044ac8db351b42ef3e26ad;hp=5f3b410e9d131896f8dab68d12cdcffa4f424539;hpb=38d7d319eabc906e82fb42002678c6d42a23b6f7;p=lilypond.git diff --git a/input/regression/clef-warn.ly b/input/regression/clef-warn.ly index 5f3b410e9d..986a6520f4 100644 --- a/input/regression/clef-warn.ly +++ b/input/regression/clef-warn.ly @@ -1,10 +1,15 @@ +\version "2.14.0" + +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "unknown clef type `~a'") "foo") +% We don't need to match the whole list of clefs, the beginning will suffice +#(ly:expect-warning (_ "supported clefs: ~a") "C F G G2") + \header { texidoc = "Unknown clef name warning displays available clefs" - } - +} -\version "2.12.0" { \clef "foo" c4 - } +}