]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/paper-margins-consistency.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / paper-margins-consistency.ly
index 1b58b15d95f9fad1754e60e01390b654d5a508d7..91a13d5468aa19ce910b0e31e89a623a304c2490 100644 (file)
@@ -1,6 +1,7 @@
-\version "2.13.5"
+\version "2.19.21"
 
 #(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 =
@@ -8,7 +9,7 @@ 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 { \repeat unfold 40 { c'4 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 }
+}