X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fremove-empty-staves-with-rests.ly;fp=input%2Fregression%2Fremove-empty-staves-with-rests.ly;h=1f0aff86027acf302cc6467f0ad663196493927d;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/input/regression/remove-empty-staves-with-rests.ly b/input/regression/remove-empty-staves-with-rests.ly new file mode 100644 index 0000000000..1f0aff8602 --- /dev/null +++ b/input/regression/remove-empty-staves-with-rests.ly @@ -0,0 +1,24 @@ +\version "2.14.0" +\header { + + texidoc = " +Rests should not keep staves alive when +@code{\RemoveEmptyStaffContext} is active. The +following example should have only one staff. +" + +} + +\score { + << + \new Staff { + \partial 16 r16 | R1 | r1 + } + \new Staff { + \partial 16 c'16 | c'1 | c'1 + } + >> + + \layout { \context { \RemoveEmptyStaffContext + \override VerticalAxisGroup #'remove-first = ##t } } +}