]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/clef-warn.ly
986a6520f4ca4ba88ac64841dc2fd70a23296256
[lilypond.git] / input / regression / clef-warn.ly
1 \version "2.14.0"
2
3 #(ly:set-option 'warning-as-error #f)
4 #(ly:expect-warning (_ "unknown clef type `~a'") "foo")
5 % We don't need to match the whole list of clefs, the beginning will suffice
6 #(ly:expect-warning (_ "supported clefs: ~a") "C F G G2")
7
8 \header {
9   texidoc = "Unknown clef name warning displays available clefs"
10 }
11
12 {
13   \clef "foo"
14   c4
15 }