]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-brace-warning.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / markup-brace-warning.ly
1 \version "2.16.0"
2
3 #(ly:set-option 'warning-as-error #f)
4 #(ly:expect-warning (_ "no brace found for point size ~S ") 10)
5 #(ly:expect-warning (_ "defaulting to ~S pt") 10.5)
6
7 \header {
8   texidoc = "If  @code{\\left-brace} or @code{\\right-brace} cannot
9 find a match for the given point size, it should default
10 gracefully to either @code{brace0} or @code{brace575} and display
11 a warning.
12 "
13 }
14
15 \markup {
16   % warning message expected; should default to 10.5 pt for
17   % global-staff-size = 20
18   \left-brace #10
19 }