summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-19 17:05:22 +0200
committerBenjamin Otte <otte@redhat.com>2012-09-17 20:39:11 +0200
commitc5551e55ce2c4d0367c52b984de6684141ff2d1a (patch)
tree2551788202df83bed6af6843c8b0128c2075c595 /tests
parentc69e30d65a314105288c29bcb2b94d3b97920701 (diff)
downloadgtk+-c5551e55ce2c4d0367c52b984de6684141ff2d1a.tar.gz
tests: Add test for last commit
Diffstat (limited to 'tests')
-rw-r--r--tests/css/parser/Makefile.am3
-rw-r--r--tests/css/parser/freed-string-in-error-messages.css3
-rw-r--r--tests/css/parser/freed-string-in-error-messages.errors1
-rw-r--r--tests/css/parser/freed-string-in-error-messages.ref.css0
4 files changed, 7 insertions, 0 deletions
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index 8f07998e96..c04a40d4a3 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -278,6 +278,9 @@ EXTRA_DIST += \
font-family.css \
font-family.errors \
font-family.ref.css \
+ freed-string-in-error-messages.css \
+ freed-string-in-error-messages.errors \
+ freed-string-in-error-messages.ref.css \
import-cyclic-1.css \
import-cyclic-1.errors \
import-cyclic-1.ref.css \
diff --git a/tests/css/parser/freed-string-in-error-messages.css b/tests/css/parser/freed-string-in-error-messages.css
new file mode 100644
index 0000000000..2885dd1d7a
--- /dev/null
+++ b/tests/css/parser/freed-string-in-error-messages.css
@@ -0,0 +1,3 @@
+a {
+ border-image-slice: 21px 24px 22px 24px;
+}
diff --git a/tests/css/parser/freed-string-in-error-messages.errors b/tests/css/parser/freed-string-in-error-messages.errors
new file mode 100644
index 0000000000..e48cf433b6
--- /dev/null
+++ b/tests/css/parser/freed-string-in-error-messages.errors
@@ -0,0 +1 @@
+freed-string-in-error-messages.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/freed-string-in-error-messages.ref.css b/tests/css/parser/freed-string-in-error-messages.ref.css
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/css/parser/freed-string-in-error-messages.ref.css