X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fwarn-conflicting-key-signatures.ly;h=7d805072a78c089af89bc54d7e7c29cf11c631bc;hb=cb04c4c790e5ad83a03b3761421db17a72aeae61;hp=4b9756ee9f15ead6eddd9115a4b35023bdd177b1;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/input/regression/warn-conflicting-key-signatures.ly b/input/regression/warn-conflicting-key-signatures.ly index 4b9756ee9f..7d805072a7 100644 --- a/input/regression/warn-conflicting-key-signatures.ly +++ b/input/regression/warn-conflicting-key-signatures.ly @@ -1,11 +1,17 @@ -\version "2.10.0" -%If you specify two different key sigs at one point, a -%warning is printed. +\version "2.16.0" +#(ly:set-option 'warning-as-error #f) +#(ly:expect-warning (ly:translate-cpp-warning-scheme "Two simultaneous %s events, junking this one") "key-change") +#(ly:expect-warning (ly:translate-cpp-warning-scheme "Previous %s event here") "key-change") + +\header { + texidoc = "If you specify two different key signatures at one point, a +warning is printed." + +} \score { \context Voice << { \key cis \major cis4 \key bes \major bes4 } - { \key cis \major fis4 \key es \major g4 } + { \key cis \major fis4 \key es \major g4 } >> } -