From be71ea611b4ec8348f160770281d3b56373565ba Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 28 May 2011 00:09:20 +0200 Subject: [PATCH] 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 + tests/css/parser/single-slash.ref.css | 0 4 files changed, 5 insertions(+) create mode 100644 tests/css/parser/single-slash.css create mode 100644 tests/css/parser/single-slash.errors create mode 100644 tests/css/parser/single-slash.ref.css diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index c2bc6427b6..3a07b22622 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 0000000000..b498fd495d --- /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 0000000000..e8e514cf75 --- /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 0000000000..e69de29bb2