From: David Kastrup Date: Fri, 7 Apr 2017 08:22:04 +0000 (+0200) Subject: Issue 5116/2: Add regtest X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=4c1bf39e4a6dd40fec4cea546846e2c721ac5993;p=lilypond.git Issue 5116/2: Add regtest --- diff --git a/input/regression/nullvoice-change.ly b/input/regression/nullvoice-change.ly new file mode 100644 index 0000000000..c2835c7b31 --- /dev/null +++ b/input/regression/nullvoice-change.ly @@ -0,0 +1,29 @@ +\version "2.19.59" + +\header { + texidoc = "@samp{NullVoice} responds to @code{\\change Staff} as a +@samp{Voice} would. In consequence, in the first shown system +it keeps a single treble-clef staff alive. In the second +system, it is in a single bass-clef staff." +} + +\layout { ragged-right = ##t } + +music = \fixed c' { + c1 + \break + \change Staff = "After" + c +} + +\markup +\score-lines { + \new StaffGroup \with \RemoveAllEmptyStaves + << + \new Staff = "Before" \new NullVoice \music + \new Staff = "After" { + \clef bass + $(skip-of-length music) + } + >> +}