Skip to content

Commit

Permalink
test: add test for escaped selector (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and michael-ciniawsky committed Jul 26, 2017
1 parent eadbd47 commit 3440d55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/simpleTest.js
Expand Up @@ -18,7 +18,10 @@ describe("simple", function() {
test("simple2", ".class { a: b c d; }\n.two {}", [
[1, ".class { a: b c d; }\n.two {}", ""]
]);
test("escape characters (uppercase)", ".class { content: \"\\F10C\" }", [
test("escaped selector", ".u-m\\+ { a: b c d; }", [
[1, ".u-m\\+ { a: b c d; }", ""]
]);
test("escaped characters (uppercase)", ".class { content: \"\\F10C\" }", [
[1, ".class { content: \"\\F10C\" }", ""]
]);
// Need uncomment after resolve https://github.com/css-modules/postcss-modules-local-by-default/issues/108
Expand Down

0 comments on commit 3440d55

Please sign in to comment.