Commit c7ef2225 authored by Benjamin Otte's avatar Benjamin Otte

tests: Add tests for cyclic imports

parent 427c97a6
......@@ -40,6 +40,15 @@ EXTRA_DIST += \
does-not-exist.css \
does-not-exist.errors \
does-not-exist.ref.css \
import-cyclic-1.css \
import-cyclic-1.errors \
import-cyclic-1.ref.css \
import-cyclic-2.css \
import-cyclic-2.errors \
import-cyclic-2.ref.css \
import-cyclic-3.css \
import-cyclic-3.errors \
import-cyclic-3.ref.css \
import-recursive.css \
import-recursive.errors \
import-recursive.ref.css \
......
@import url("import-cyclic-2.css");
a {
int-property: 1
}
import-cyclic-3.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT
a {
int-property: 3;
}
a {
int-property: 2;
}
a {
int-property: 1;
}
@import url("import-cyclic-3.css");
a {
int-property: 2
}
import-cyclic-1.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT
a {
int-property: 1;
}
a {
int-property: 3;
}
a {
int-property: 2;
}
@import url("import-cyclic-1.css");
a {
int-property: 3
}
import-cyclic-2.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT
a {
int-property: 2;
}
a {
int-property: 1;
}
a {
int-property: 3;
}
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