Skip to content

Commit

Permalink
test: charset directive (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and michael-ciniawsky committed Apr 20, 2017
1 parent e1ec4f2 commit 5fbf147
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/simpleTest.js
Expand Up @@ -32,6 +32,9 @@ describe("simple", function() {
testMinimize("minimized simple", ".class { a: b c d; }", [
[1, ".class{a:b c d}", ""]
]);
test("charset directive", "@charset \"UTF-8\";\n .class { a: b c d; }", [
[1, "@charset \"UTF-8\";\n .class { a: b c d; }", ""]
]);
testError("error formatting", ".some {\n invalid css;\n}", function(err) {
assert.equal(err.message, [
'Unknown word (2:2)',
Expand Down

0 comments on commit 5fbf147

Please sign in to comment.