]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/bar-number-check-warning.ly
Doc-es: various updates.
[lilypond.git] / input / regression / bar-number-check-warning.ly
1 \version "2.19.21"
2 #(ly:set-option 'warning-as-error #f)
3 #(ly:expect-warning (_ "Barcheck failed got ~a expect ~a") 3 15)
4
5 \header {
6
7 texidoc="Bar numbers check may be inserted to check whether the current
8 bar number is correct.
9 "
10
11 }
12
13 \relative {
14   c''1 | 
15   \barNumberCheck #2 % OK
16   c1 |
17   \barNumberCheck #15 % Warning
18   c1
19 }