[gtk+/parser: 18/57] tests: Add test for auto-closing at end of file



commit ec6b6cd881ba5ef6d64398306762645a25dbe701
Author: Benjamin Otte <otte redhat com>
Date:   Thu Apr 7 12:20:22 2011 +0200

    tests: Add test for auto-closing at end of file

 tests/css/parser/Makefile.am                  |    2 ++
 tests/css/parser/close-at-end-of-file.css     |    2 ++
 tests/css/parser/close-at-end-of-file.ref.css |    3 +++
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index 30b6013..36354f9 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -25,6 +25,8 @@ clean-local:
 	rm $(builddir)/*.out.css || true
 
 EXTRA_DIST += \
+	close-at-end-of-file.css \
+	close-at-end-of-file.ref.css \
 	does-not-exist.css \
 	does-not-exist.ref.css \
 	no-semicolon.css \
diff --git a/tests/css/parser/close-at-end-of-file.css b/tests/css/parser/close-at-end-of-file.css
new file mode 100644
index 0000000..86ffa99
--- /dev/null
+++ b/tests/css/parser/close-at-end-of-file.css
@@ -0,0 +1,2 @@
+foo {
+  color: rgb(255,255,255)
diff --git a/tests/css/parser/close-at-end-of-file.ref.css b/tests/css/parser/close-at-end-of-file.ref.css
new file mode 100644
index 0000000..2dd4e4f
--- /dev/null
+++ b/tests/css/parser/close-at-end-of-file.ref.css
@@ -0,0 +1,3 @@
+foo {
+  color: rgb(255,255,255);
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]