mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
tests: Add a test for importing nonexistant files
This commit is contained in:
parent
c7ef2225b7
commit
058bbb2aec
@ -49,6 +49,9 @@ EXTRA_DIST += \
|
|||||||
import-cyclic-3.css \
|
import-cyclic-3.css \
|
||||||
import-cyclic-3.errors \
|
import-cyclic-3.errors \
|
||||||
import-cyclic-3.ref.css \
|
import-cyclic-3.ref.css \
|
||||||
|
import-nonexistant.css \
|
||||||
|
import-nonexistant.errors \
|
||||||
|
import-nonexistant.ref.css \
|
||||||
import-recursive.css \
|
import-recursive.css \
|
||||||
import-recursive.errors \
|
import-recursive.errors \
|
||||||
import-recursive.ref.css \
|
import-recursive.ref.css \
|
||||||
|
5
tests/css/parser/import-nonexistant.css
Normal file
5
tests/css/parser/import-nonexistant.css
Normal 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";
|
||||||
|
}
|
1
tests/css/parser/import-nonexistant.errors
Normal file
1
tests/css/parser/import-nonexistant.errors
Normal file
@ -0,0 +1 @@
|
|||||||
|
import-nonexistant.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT
|
3
tests/css/parser/import-nonexistant.ref.css
Normal file
3
tests/css/parser/import-nonexistant.ref.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
a {
|
||||||
|
string-property: "make sure it didn't stop parsing";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user