]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-loose-grace-error.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / spacing-loose-grace-error.ly
index 8a4752c26929b838cf7acc9cc848304763174dfe..f55dc72360f0f5aa401c85af9e98f0d8965dcdd5 100644 (file)
@@ -1,19 +1,30 @@
-\header
-{
-  
+\version "2.16.0"
+
+#(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.14.0"
-
-
 %% \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
+  }
 }