X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fharp-pedals-sanity-checks.ly;h=e239adc6bbad15b1607e50d8b27c149aee983bbd;hb=5b2267a97cfb085c4492e2954c0b9eec36fc11f8;hp=63270dfb4ad0122782d2fcff14402bcd8c4d996e;hpb=2055f35c47a045a50a01ff4dba8524322cfc3b48;p=lilypond.git diff --git a/input/regression/harp-pedals-sanity-checks.ly b/input/regression/harp-pedals-sanity-checks.ly index 63270dfb4a..e239adc6bb 100644 --- a/input/regression/harp-pedals-sanity-checks.ly +++ b/input/regression/harp-pedals-sanity-checks.ly @@ -1,6 +1,11 @@ -\version "2.14.0" +\version "2.17.6" #(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "Harp pedal diagram contains dividers at positions ~a. Normally, there is only one divider after the third pedal.") '(1 3 5)) +#(ly:expect-warning (_ "Harp pedal diagram contains dividers at positions ~a. Normally, there is only one divider after the third pedal.") '(4)) +#(ly:expect-warning (_ "Harp pedal diagram contains ~a pedals rather than the usual 7.") 5) +#(ly:expect-warning (_ "Harp pedal diagram does not contain a divider (usually after third pedal).")) + \header { texidoc = "The harp-pedal markup function does some sanity checks. All @@ -9,7 +14,7 @@ a warning is printed out, but they should still look okay." } \relative c'' { - \override Score.PaperColumn #'keep-inside-line = ##f + \override Score.PaperColumn.keep-inside-line = ##f % Sanity checks: #pedals != 7: c1^\markup \harp-pedal #"^-v|--" % Sanity checks: no divider, multiple dividers, divider on wrong position: