tests: Add a test for importing nonexistant files

This commit is contained in:
Benjamin Otte 2011-04-12 04:35:22 +02:00
parent c7ef2225b7
commit 058bbb2aec
4 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,9 @@ EXTRA_DIST += \
import-cyclic-3.css \
import-cyclic-3.errors \
import-cyclic-3.ref.css \
import-nonexistant.css \
import-nonexistant.errors \
import-nonexistant.ref.css \
import-recursive.css \
import-recursive.errors \
import-recursive.ref.css \

View File

@ -0,0 +1,5 @@
@import url("if-this-file-ever-starts-to-exist-you-have-a-weird-sense-of-naming-files.css");
a {
string-property: "make sure it didn't stop parsing";
}

View File

@ -0,0 +1 @@
import-nonexistant.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT

View File

@ -0,0 +1,3 @@
a {
string-property: "make sure it didn't stop parsing";
}