Commit 710caeb5 authored by Benjamin Otte's avatar Benjamin Otte

tests: Add a test for enum values

parent 619d344d
...@@ -48,6 +48,9 @@ EXTRA_DIST += \ ...@@ -48,6 +48,9 @@ EXTRA_DIST += \
does-not-exist.css \ does-not-exist.css \
does-not-exist.errors \ does-not-exist.errors \
does-not-exist.ref.css \ does-not-exist.ref.css \
enum.css \
enum.errors \
enum.ref.css \
import-cyclic-1.css \ import-cyclic-1.css \
import-cyclic-1.errors \ import-cyclic-1.errors \
import-cyclic-1.ref.css \ import-cyclic-1.ref.css \
......
a {
enum-property: in;
}
b {
enum-property: none;
}
c {
enum-property: 2;
}
d {
enum-property: "in";
}
e {
enum-property: non-existing;
}
f {
enum-property: "non-existing";
}
g {
enum-property: 34;
}
h {
enum-property: 12e;
}
enum.css:10: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
enum.css:14: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
enum.css:18: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
enum.css:22: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
enum.css:26: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
enum.css:30: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
a {
enum-property: in;
}
b {
enum-property: none;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment