X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fmarkup-music-glyph.ly;h=4dda8b175401dc9cddcddf284a0a3153b43d3c8b;hb=92b74608ea370b869bacb82d293decddfe4f8565;hp=3afe426c854b61a26d3e9201091229dff895db54;hpb=87bcfd325a61d9efb40f44fa7ac5a48e93d7b4af;p=lilypond.git diff --git a/input/regression/markup-music-glyph.ly b/input/regression/markup-music-glyph.ly index 3afe426c85..4dda8b1754 100644 --- a/input/regression/markup-music-glyph.ly +++ b/input/regression/markup-music-glyph.ly @@ -1,17 +1,20 @@ -\header { +\version "2.16.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.47" +} { - 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 } }