X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Frepeat-unfold.ly;h=500299182978795989613760ca66041f179c21ac;hb=c8a1a62ce48cf237e106f6e9e9d4612d0b40c31b;hp=03ac55f35b974c09e33c61099739ef8dd41e113e;hpb=0c289671d105bea58592607cb508aef59aee882b;p=lilypond.git diff --git a/input/regression/repeat-unfold.ly b/input/regression/repeat-unfold.ly index 03ac55f35b..5002991829 100644 --- a/input/regression/repeat-unfold.ly +++ b/input/regression/repeat-unfold.ly @@ -1,22 +1,19 @@ -\version "2.10.0" +\version "2.16.0" + +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "More alternatives than repeats. Junking excess alternatives")) \header{ - texidoc=" -LilyPond has three modes for repeats: folded, unfolded and -semi-unfolded. Unfolded repeats are fully written out. Semi unfolded -repeats have the body written and all alternatives sequentially. -Folded repeats have the body written and all alternatives -simultaneo.ly. If the number of alternatives is larger than the -repeat count, the excess alternatives are ignored. If the number of -alternatives is smaller, the first alternative is multiplied to get to -the number of repeats. + texidoc="LilyPond has two modes for repeats: unfolded and semi-unfolded. +Unfolded repeats are fully written out. Semi unfolded repeats have the body +written and all alternatives sequentially. If the number of alternatives is +larger than the repeat count, the excess alternatives are ignored. If the +number of alternatives is smaller, the first alternative is multiplied to +get to the number of repeats. -Unfolded behavior: -" +Unfolded behavior:" } - - \context Voice \relative c'' { \repeat unfold 3 { c^"3x 0a" d } %% less alts than body @@ -24,5 +21,3 @@ Unfolded behavior: %% more alts than body \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } } - -