Skip to content

Commit 5fbf147

Browse files
evilebottnawimichael-ciniawsky
authored andcommitted
test: charset directive (webpack-contrib#502)
1 parent e1ec4f2 commit 5fbf147

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/simpleTest.js

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ describe("simple", function() {
3232
testMinimize("minimized simple", ".class { a: b c d; }", [
3333
[1, ".class{a:b c d}", ""]
3434
]);
35+
test("charset directive", "@charset \"UTF-8\";\n .class { a: b c d; }", [
36+
[1, "@charset \"UTF-8\";\n .class { a: b c d; }", ""]
37+
]);
3538
testError("error formatting", ".some {\n invalid css;\n}", function(err) {
3639
assert.equal(err.message, [
3740
'Unknown word (2:2)',

0 commit comments

Comments
 (0)