summaryrefslogtreecommitdiff
path: root/testsuite/gsk
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gsk')
-rw-r--r--testsuite/gsk/meson.build3
-rw-r--r--testsuite/gsk/nodeparser/string-error.errors1
-rw-r--r--testsuite/gsk/nodeparser/string-error.node3
-rw-r--r--testsuite/gsk/nodeparser/string-error.ref.node6
4 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index e9abda85d2..0f90f50938 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -232,6 +232,9 @@ node_parser_tests = [
'shadow-fail.node',
'shadow-fail.ref.node',
'shadow-fail.errors',
+ 'string-error.errors',
+ 'string-error.node',
+ 'string-error.ref.node',
'testswitch.node',
'text-fail.node',
'text-fail.ref.node',
diff --git a/testsuite/gsk/nodeparser/string-error.errors b/testsuite/gsk/nodeparser/string-error.errors
new file mode 100644
index 0000000000..47ad1d1e75
--- /dev/null
+++ b/testsuite/gsk/nodeparser/string-error.errors
@@ -0,0 +1 @@
+<data>:2:12-13: error: GTK_CSS_PARSER_ERROR_SYNTAX
diff --git a/testsuite/gsk/nodeparser/string-error.node b/testsuite/gsk/nodeparser/string-error.node
new file mode 100644
index 0000000000..6e62f6a6f5
--- /dev/null
+++ b/testsuite/gsk/nodeparser/string-error.node
@@ -0,0 +1,3 @@
+debug {
+ message: 5;
+}
diff --git a/testsuite/gsk/nodeparser/string-error.ref.node b/testsuite/gsk/nodeparser/string-error.ref.node
new file mode 100644
index 0000000000..fc7e73a4c7
--- /dev/null
+++ b/testsuite/gsk/nodeparser/string-error.ref.node
@@ -0,0 +1,6 @@
+debug {
+ child: color {
+ bounds: 0 0 50 50;
+ color: rgb(255,0,204);
+ }
+}