X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Frepeat-volta.ly;h=9d6011d64b17394822881c591849d0e10ba5e471;hb=341603e3e0b1e103ccb7e607eba5e1043318c6d4;hp=0741104b7dd1f4e288a2ff004ff70855a14d200a;hpb=f37a2074a91b06883f2dbddd5f25e15a452c4664;p=lilypond.git diff --git a/input/regression/repeat-volta.ly b/input/regression/repeat-volta.ly index 0741104b7d..9d6011d64b 100644 --- a/input/regression/repeat-volta.ly +++ b/input/regression/repeat-volta.ly @@ -1,24 +1,23 @@ -\version "2.6.0" +\version "2.16.0" +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "More alternatives than repeats. Junking excess alternatives")) \header{ -texidoc=" + texidoc=" Volta (Semi folded) behavior. Voltas can start on non-barline moments. If they don't barlines should still be shown. " } -% no alts. -\score { - \context Voice \relative c'' { - % repeat non aligning with barlines. - \repeat volta 3 { c^"3x 0alt" d e } - % less alts than body - \repeat volta 4 { c^"4x 2alt" d } \alternative { e f } - % more alts than body - \repeat volta 2 { c^"2x 3alt" d } \alternative { e f g } - } - \layout {} - \midi {} +%% no alts. + +\context Voice \relative c'' { + %% repeat non aligning with barlines. + \repeat volta 3 { c^"3x 0alt" d e } + %% less alts than body + \repeat volta 4 { c^"4x 2alt" d } \alternative { e f } + %% more alts than body + \repeat volta 2 { c^"2x 3alt" d } \alternative { e f g } }