]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/bar-number-check-warning.ly
7bede8d7caad1c471c93502d5e3c269a985694da
[lilypond.git] / input / regression / bar-number-check-warning.ly
1 \version "2.16.0"
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 c'' {
14   c1 | 
15   \barNumberCheck #2 % OK
16   c1 |
17   \barNumberCheck #15 % Warning
18   c1
19 }