]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/warn-conflicting-key-signatures.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / warn-conflicting-key-signatures.ly
index 4b9756ee9f15ead6eddd9115a4b35023bdd177b1..7d805072a78c089af89bc54d7e7c29cf11c631bc 100644 (file)
@@ -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 }
 >>
 }
-