]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/paper-margins-consistency.ly
Fix 1477: Update regtests to suppress expected warnings
[lilypond.git] / input / regression / paper-margins-consistency.ly
index 237cd6865c70c5df4baa9e2d3e68f0188134dff1..d0cca0e3a77d72d04b7e6b89bb9c2d8f1fe9c7fd 100644 (file)
@@ -1,14 +1,15 @@
-\version "2.13.4"
+\version "2.14.0"
 
 #(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "margins do not fit with line-width, setting default values"))
 
 \header {
   texidoc = "Margin values must fit the line-width, that means: paper-width =
-  line-width + left-margin + right-margin. In case they do not, default margins
-  are set and a warning is printed."
+line-width + left-margin + right-margin.  In case they do not, default margins
+are set and a warning is printed."
 }
 
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f }}
+someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
 
 \paper {
   left-margin = 20 \mm
@@ -16,4 +17,6 @@ someNotes = \relative c' { \repeat unfold 40 { c4 d e f }}
   line-width = 100 \mm
 }
 
-\score { \someNotes }
+\book {
+  \score { \someNotes }
+}