]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for \contextStringTuning.
authorGraham Percival <graham@percival-music.ca>
Thu, 1 Sep 2011 06:58:23 +0000 (07:58 +0100)
committerGraham Percival <graham@percival-music.ca>
Thu, 1 Sep 2011 06:58:23 +0000 (07:58 +0100)
Somebody might want to make a better test / better texidoc, but at
the moment I just want to have something in there.  This function
was not previously tested.

input/regression/context-string-tuning.ly [new file with mode: 0644]

diff --git a/input/regression/context-string-tuning.ly b/input/regression/context-string-tuning.ly
new file mode 100644 (file)
index 0000000..2281bb9
--- /dev/null
@@ -0,0 +1,24 @@
+\version "2.14.0"
+
+\header {
+  texidoc="
+Using \contextStringTuning does not break compiling.
+"
+}
+
+mynotes = {
+  c'4 e' g' c'' |
+  e''4 g'' b'' c'''
+}
+
+<<
+  \new Staff {
+    \clef treble
+    \mynotes
+  }
+  \new TabStaff {
+    \contextStringTuning #'custom-tuning <c' g' d'' a''>
+    \mynotes
+  }
+>>
+