]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-unfold.ly
Fix 1477: Update regtests to suppress expected warnings
[lilypond.git] / input / regression / repeat-unfold.ly
index 9b1578266db459c2b1ce005dd21efaf4ac539427..763020cd3c64b38d3635d96f5d4295bd7267756d 100644 (file)
@@ -1,5 +1,8 @@
 \version "2.14.0"
 
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "More alternatives than repeats.  Junking excess alternatives"))
+
 \header{
   texidoc="LilyPond has two modes for repeats: unfolded and semi-unfolded. 
 Unfolded repeats are fully written out.  Semi unfolded repeats have the body
@@ -11,8 +14,6 @@ get to the number of repeats.
 Unfolded behavior:"
 }
 
-#(ly:set-option 'warning-as-error #f)
-
 \context Voice \relative c'' {
   \repeat unfold 3 { c^"3x 0a" d }
   %% less alts than body