Skip to content

Commit 927420e

Browse files
committed
added import string test
1 parent 623b197 commit 927420e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/importTest.js

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ describe("import", function() {
99
], "", {
1010
"./test.css": [[2, ".test{a: b}", ""]]
1111
});
12+
test("import with string", "@import \"test.css\";\n.class { a: b c d; }", [
13+
[2, ".test{a: b}", ""],
14+
[1, ".class { a: b c d; }", ""]
15+
], "", {
16+
"./test.css": [[2, ".test{a: b}", ""]]
17+
});
1218
test("import 2", "@import url('test.css');\n.class { a: b c d; }", [
1319
[2, ".test{a: b}", "screen"],
1420
[1, ".class { a: b c d; }", ""]

0 commit comments

Comments
 (0)