X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fslur-multiple.ly;h=007b69773ec293a7d30af9d6043bda472b3fde3b;hb=8dfb8cb1d1c7cdb47635ec49b7103194a447e2f9;hp=21cb4440717165706ee91b35c3a370d4c0705f1c;hpb=32776795a1be5c0ec472f59694510705607673b0;p=lilypond.git diff --git a/input/regression/slur-multiple.ly b/input/regression/slur-multiple.ly index 21cb444071..007b69773e 100644 --- a/input/regression/slur-multiple.ly +++ b/input/regression/slur-multiple.ly @@ -1,6 +1,9 @@ -\version "2.15.5" +\version "2.19.29" #(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "already have slur")) +#(ly:expect-warning (_ "cannot end slur")) +#(ly:expect-warning (_ "unterminated slur")) \header { texidoc = "LilyPond does not support multiple concurrent slurs with the @@ -9,13 +12,10 @@ slur will not be generated. However, one can can create a second slur with a different spanner-id." } -altSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "alt") -altSlurEnd = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "alt") - -\relative c'' { +\relative { % This will give warnings ("Already have slur" and "Cannot end slur") - c4(( d4)( e4) f) | - % This will give two overlapping slurs: - d( d\altSlur e) f\altSlurEnd | + c''4((\=1( d4)(\=1( e4) f) | + % This will give two overlapping slurs and "unterminated slur" from above + d( d\=2( e) f\=2) | }