From 8574f122d860db76f63bde92fd1c6b4adfa19733 Mon Sep 17 00:00:00 2001
From: Christian Hitz <christian@klarinett.li>
Date: Sat, 13 Feb 2010 17:48:27 +0100
Subject: [PATCH 2/3] Add regression tests for issue 1011.

Checks if lilypond-book works with spaces and newlines in front of
the closing '>' bracket.
---
 input/regression/lilypondbook_html/include.ly      |    3 +++
 .../include_space_after_tag.lyhtml                 |    8 ++++++++
 .../inline_newline_after_tag.lyhtml                |    6 ++++++
 .../lilypondbook_html/newline_after_tag.lyhtml     |    9 +++++++++
 .../lilypondbook_html/space_after_tag.lyhtml       |    7 +++++++
 5 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 input/regression/lilypondbook_html/include.ly
 create mode 100644 input/regression/lilypondbook_html/include_space_after_tag.lyhtml
 create mode 100644 input/regression/lilypondbook_html/inline_newline_after_tag.lyhtml
 create mode 100644 input/regression/lilypondbook_html/newline_after_tag.lyhtml
 create mode 100644 input/regression/lilypondbook_html/space_after_tag.lyhtml

diff --git a/input/regression/lilypondbook_html/include.ly b/input/regression/lilypondbook_html/include.ly
new file mode 100644
index 0000000..5bc46ed
--- /dev/null
+++ b/input/regression/lilypondbook_html/include.ly
@@ -0,0 +1,3 @@
+\score {
+	\relative c'' { \key c \minor c4 es g2 }
+}
diff --git a/input/regression/lilypondbook_html/include_space_after_tag.lyhtml b/input/regression/lilypondbook_html/include_space_after_tag.lyhtml
new file mode 100644
index 0000000..46bb8ac
--- /dev/null
+++ b/input/regression/lilypondbook_html/include_space_after_tag.lyhtml
@@ -0,0 +1,8 @@
+<html>
+<body>
+<lilypondfile
+>
+include.ly
+</lilypondfile >
+</body>
+</html>
diff --git a/input/regression/lilypondbook_html/inline_newline_after_tag.lyhtml b/input/regression/lilypondbook_html/inline_newline_after_tag.lyhtml
new file mode 100644
index 0000000..00c3786
--- /dev/null
+++ b/input/regression/lilypondbook_html/inline_newline_after_tag.lyhtml
@@ -0,0 +1,6 @@
+<html>
+<body>
+Some music in <lilypond relative=2: a b c
+/> a line of text.
+</body>
+</html>
diff --git a/input/regression/lilypondbook_html/newline_after_tag.lyhtml b/input/regression/lilypondbook_html/newline_after_tag.lyhtml
new file mode 100644
index 0000000..0beed2a
--- /dev/null
+++ b/input/regression/lilypondbook_html/newline_after_tag.lyhtml
@@ -0,0 +1,9 @@
+<html>
+<body>
+<lilypond fragment relative=2
+>
+\key c \minor c4 es g2
+</lilypond
+>
+</body>
+</html>
diff --git a/input/regression/lilypondbook_html/space_after_tag.lyhtml b/input/regression/lilypondbook_html/space_after_tag.lyhtml
new file mode 100644
index 0000000..482a6ed
--- /dev/null
+++ b/input/regression/lilypondbook_html/space_after_tag.lyhtml
@@ -0,0 +1,7 @@
+<html>
+<body>
+<lilypond fragment relative=2 >
+\key c \minor c4 es g2
+</lilypond >
+</body>
+</html>
-- 
1.6.3.3

