X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fpaper-margins-consistency.ly;h=91a13d5468aa19ce910b0e31e89a623a304c2490;hb=0c5e8b93e920ce7747ddde1f74222dd3be165fa1;hp=1b58b15d95f9fad1754e60e01390b654d5a508d7;hpb=afeae7fde859b9a0bea371991639fa57c8cdd899;p=lilypond.git diff --git a/input/regression/paper-margins-consistency.ly b/input/regression/paper-margins-consistency.ly index 1b58b15d95..91a13d5468 100644 --- a/input/regression/paper-margins-consistency.ly +++ b/input/regression/paper-margins-consistency.ly @@ -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 } +}