]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-volta.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / repeat-volta.ly
index 0741104b7dd1f4e288a2ff004ff70855a14d200a..8ec19447065d1b77b401c84e2a11642b281138f2 100644 (file)
@@ -1,24 +1,23 @@
-\version "2.6.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 {
-   \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 {
+  %% 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 }
 }