X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-loose-grace-error.ly;h=6f299e8cb33db02c07305150c12e219a6d2cea7f;hb=b9e47a70690bb6010cb9371d10366c9bd4abc803;hp=94a3968adc8fa9bdf7b155e6c0f5de9de301bae2;hpb=2f19ea6bdfd30afec339c5695b9e2df4df755896;p=lilypond.git diff --git a/input/regression/spacing-loose-grace-error.ly b/input/regression/spacing-loose-grace-error.ly index 94a3968adc..6f299e8cb3 100644 --- a/input/regression/spacing-loose-grace-error.ly +++ b/input/regression/spacing-loose-grace-error.ly @@ -1,19 +1,30 @@ -\header -{ - +\version "2.17.6" + +#(ly:expect-warning (_ "Cannot determine neighbors for floating column. ")) +#(ly:expect-warning (_ "Loose column does not have right side to attach to.")) +#(ly:expect-warning (_ "Loose column does not have right side to attach to.")) + +\header { + texidoc = "Even in case of incorrect contexts (eg. shortlived contexts) that break linking of columns through spacing wishes, - @code{strict-note-spacing} defaults to a robust solution." + @code{strict-note-spacing} defaults to a robust solution. + This test passes if it does not seg fault; instead it should + produce three programming error messages. Note that, in tight + music with strict note spacing, grace notes will collide with + normal notes. This is expected." } -\version "2.11.2" - - %% \new Staff cause shortlived, disconnected Voice contexts %% breaking spacing-wishes links. -\new Staff { - \override Score.SpacingSpanner #'strict-note-spacing = ##t - \afterGrace c'4 {c'32 c'32 } - c'4 +\score { + \new Staff { + \override Score.SpacingSpanner.strict-note-spacing = ##t + \afterGrace c'4 {c'32 c'32 } + c'4 + } + \layout { + ragged-right = ##f + } }