[gtk+/nth-child: 29/33] tests: Add CSS test for the last two bugs



commit 33d7ef4e5810901f369458301dac78e16b7bf8d9
Author: Benjamin Otte <otte redhat com>
Date:   Sat May 28 00:09:20 2011 +0200

    tests: Add CSS test for the last two bugs
    
    And it's a 1-byte file, too!

 tests/css/parser/Makefile.am          |    3 +++
 tests/css/parser/single-slash.css     |    1 +
 tests/css/parser/single-slash.errors  |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index c2bc642..3a07b22 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -79,4 +79,7 @@ EXTRA_DIST += \
 	shorthand.css \
 	shorthand.ref.css \
 	simple.css \
+	single-slash.css \
+	single-slash.errors\
+	single-slash.ref.css \
 	widget-style-property.css
diff --git a/tests/css/parser/single-slash.css b/tests/css/parser/single-slash.css
new file mode 100644
index 0000000..b498fd4
--- /dev/null
+++ b/tests/css/parser/single-slash.css
@@ -0,0 +1 @@
+/
diff --git a/tests/css/parser/single-slash.errors b/tests/css/parser/single-slash.errors
new file mode 100644
index 0000000..e8e514c
--- /dev/null
+++ b/tests/css/parser/single-slash.errors
@@ -0,0 +1 @@
+single-slash.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/single-slash.ref.css b/tests/css/parser/single-slash.ref.css
new file mode 100644
index 0000000..e69de29



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