X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmarkup-music-glyph.ly;h=57822eaaba3015fa73002e432b8c5f5d0b1e3116;hb=b8e19438b2d69674efcf408586950e384d5e4b06;hp=795b1a36ec3b506fafae6dd68eb0d3f90a703a21;hpb=1dff29aea8a32c30f7fcfadf8a00afa0371dbf7a;p=lilypond.git diff --git a/input/regression/markup-music-glyph.ly b/input/regression/markup-music-glyph.ly index 795b1a36ec..57822eaaba 100644 --- a/input/regression/markup-music-glyph.ly +++ b/input/regression/markup-music-glyph.ly @@ -1,17 +1,20 @@ -\header { +\version "2.14.0" - texidoc = "Reset fontname for musicglyph. For unknown glyphs, we print a warning." +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (_ "Cannot find glyph ~a") "UNKNOWN-GLYPH") -} +\header { + texidoc = "Reset fontname for musicglyph. +For unknown glyphs, we print a warning." -\version "2.11.51" +} { - c'^\markup - { - \override #'(font-name . "Sans") - { c'est un B \flat \musicglyph #"UNKNOWN-GLYPH" } - % to get \flat, do: - % \normal-text \flat + c'^\markup { + \override #'(font-name . "Sans") { + c'est un B \flat \musicglyph #"UNKNOWN-GLYPH" + } + % to get \flat, do: + % \normal-text \flat } }