]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-volta.ly
Remove several warnings in the regtests, add warning-as-error where needed
[lilypond.git] / input / regression / repeat-volta.ly
index bff3ea71ee24d2df18e068e6749a9dc93d752570..d1c26e76c34fb2a04aafe61a6b157bb7fe6cb088 100644 (file)
@@ -1,25 +1,22 @@
-#(ly:set-option 'old-relative)
-\version "1.9.4"
+\version "2.14.0"
+#(ly:set-option 'warning-as-error #f)
 
 \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 }
 }