X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Frepeat-volta.ly;h=8ec19447065d1b77b401c84e2a11642b281138f2;hb=57817ab4e80df96e604b50a766c23ebabf72fc66;hp=db76a9ce4dcfb074a4b1a9566fde9081849fdfb2;hpb=3684e949054183e4a31e17f5e7ab0bf30da0123e;p=lilypond.git diff --git a/input/regression/repeat-volta.ly b/input/regression/repeat-volta.ly index db76a9ce4d..8ec1944706 100644 --- a/input/regression/repeat-volta.ly +++ b/input/regression/repeat-volta.ly @@ -1,24 +1,23 @@ -\version "2.2.0" +\version "2.19.21" +#(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 { + %% 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 } }