X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclef-warn.ly;h=7814e757259ba18d288017fc9d31f0f6d483e33d;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=5f3b410e9d131896f8dab68d12cdcffa4f424539;hpb=3bafaae8bf353619d2f97036e874f1c9cb787adf;p=lilypond.git diff --git a/input/regression/clef-warn.ly b/input/regression/clef-warn.ly index 5f3b410e9d..7814e75725 100644 --- a/input/regression/clef-warn.ly +++ b/input/regression/clef-warn.ly @@ -1,10 +1,15 @@ +\version "2.16.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 - } +}