]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix measure-grouping.ly test
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Jan 2007 02:00:51 +0000 (03:00 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 2 Jan 2007 02:00:51 +0000 (03:00 +0100)
Put \consists before score. This puts the grouping signs in the
output, and fixes coverage of Lookup::triangle.

input/regression/measure-grouping.ly

index 64a1e8153d4a2539b51fd70875bc9bc39016c656..cfea330422831ee7a4af3dbc2de8efb846ec5e57 100644 (file)
@@ -9,10 +9,16 @@ brackets above beats when the beats of a time signature are grouped.  "
 
 \version "2.10.0"
 
+\layout  {
+  ragged-right = ##t
+}
 
 %% TODO: should have 2/4 + 5/8 time sig style.
 
-\context Staff
+\context Staff \with {
+    \consists "Measure_grouping_engraver"
+  }
+
 \relative c' {
   #(set-time-signature 2 4) 
   c8 a'4 a8~
@@ -23,12 +29,5 @@ brackets above beats when the beats of a time signature are grouped.  "
   #(set-time-signature 5 8 '(3 2)) 
   g8 a4 g a4.->
 }
-\layout  {
-  ragged-right = ##t
-  \context {
-    \Staff
-    \consists "Measure_grouping_engraver"
-  }
-}