X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Frepeat-volta.ly;h=693c27c8708e12584d707c114ac688e8e9d1ef7b;hb=ae0495dda1032c3994c770d727c65b46e702459c;hp=0d667989a3fb360084ee379098377d5ba9d88eb7;hpb=68a168bff1fec7f8011b2afa82d4fc89182c4bf7;p=lilypond.git diff --git a/input/regression/repeat-volta.ly b/input/regression/repeat-volta.ly index 0d667989a3..693c27c870 100644 --- a/input/regression/repeat-volta.ly +++ b/input/regression/repeat-volta.ly @@ -1,23 +1,23 @@ -\version "1.3.146" +\version "2.14.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 { - \notes \context Voice \relative c'' { - % repeat non aligning with barlines. - \repeat volta 3 { c^"3$\\times$ 0alt" d e } - % less alts than body - \repeat volta 4 { c^"4$\\times$ 2alt" d } \alternative { e f } - % more alts than body - \repeat volta 2 { c^"2$\\times$ 3alt" d } \alternative { e f g } - } - \paper {} - \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 } } +