X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fharp-pedals-sanity-checks.ly;h=363acfa17860a3025572c0b840321a1a76c5e0f0;hb=313d8aee251fb0aa89dfc3b23abeb869fdd1355a;hp=f395f0dac6f9de4d827871f86b4676fb78bb776f;hpb=72302e0137253f419c8a0a500c6dd6e5f118bf39;p=lilypond.git diff --git a/input/regression/harp-pedals-sanity-checks.ly b/input/regression/harp-pedals-sanity-checks.ly index f395f0dac6..363acfa178 100644 --- a/input/regression/harp-pedals-sanity-checks.ly +++ b/input/regression/harp-pedals-sanity-checks.ly @@ -1,4 +1,11 @@ -\version "2.11.57" +\version "2.14.0" + +#(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 @@ -7,6 +14,7 @@ a warning is printed out, but they should still look okay." } \relative c'' { + \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: