Skip to content

Commit 0cada10

Browse files
committed
added a few edge cases for the parser around escaped characters
1 parent 169a822 commit 0cada10

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/test-cases.js

+14
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ module.exports = {
4848
])
4949
],
5050

51+
"complex class name": [
52+
".class\\.Name",
53+
singleSelector([
54+
{ type: "class", name: "class\\.Name" }
55+
])
56+
],
57+
58+
"class name starting with number": [
59+
".\\5-5",
60+
singleSelector([
61+
{ type: "class", name: "\\5-5" }
62+
])
63+
],
64+
5165
"id name": [
5266
"#idName",
5367
singleSelector([

0 commit comments

Comments
 (0)