X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fharp-pedals.ly;h=471d9c20953c253bfb3813d5ede59262830822b7;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=7f19767e21fbe08a275a08baeffbf4cc83b883d0;hpb=079be3c9a14d13e594cb1c1924058322a93ca1b5;p=lilypond.git diff --git a/input/regression/harp-pedals.ly b/input/regression/harp-pedals.ly index 7f19767e21..471d9c2095 100644 --- a/input/regression/harp-pedals.ly +++ b/input/regression/harp-pedals.ly @@ -1,4 +1,16 @@ -\version "2.12.0" +\version "2.19.21" + +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "Harp pedal diagram contains ~a pedals rather than the usual 7.") 0) +#(ly:expect-warning (_ "Harp pedal diagram does not contain a divider (usually after third pedal).")) +#(ly:expect-warning (_ "Harp pedal diagram contains ~a pedals rather than the usual 7.") 1) +#(ly:expect-warning (_ "Harp pedal diagram does not contain a divider (usually after third pedal).")) +#(ly:expect-warning (_ "Unhandled entry in harp-pedal: ~a" ) "a") +#(ly:expect-warning (_ "Unhandled entry in harp-pedal: ~a" ) "s") +#(ly:expect-warning (_ "Unhandled entry in harp-pedal: ~a" ) "d") +#(ly:expect-warning (_ "Unhandled entry in harp-pedal: ~a" ) "f") +#(ly:expect-warning (_ "Unhandled entry in harp-pedal: ~a" ) "x") + \header { texidoc = "Basic harp diagram functionality, including circled pedal boxes. @@ -6,8 +18,8 @@ The third diagram uses an empty string, the third contains invalid characters. Both cases will create warnings, but should still not fail with an error." } -\relative c'' { - c1^\markup \harp-pedal #"^v-|vv-^" +\relative { + c''1^\markup \harp-pedal #"^v-|vv-^" % circled boxes: c1^\markup \harp-pedal #"o^ovo-|vovo-o^" % invalid pedal specifications, which still should be handled gracefully: