add more tests for quoting and !important
This commit is contained in:
parent
c98bc46c10
commit
57f941350b
tests
@ -101,3 +101,7 @@ test!(
|
|||||||
"a {\n color: foo ! important;\n}\n",
|
"a {\n color: foo ! important;\n}\n",
|
||||||
"a {\n color: foo !important;\n}\n"
|
"a {\n color: foo !important;\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
values_after_important,
|
||||||
|
"a {\n color: foo bar !important hux baz;\n}\n"
|
||||||
|
);
|
||||||
|
@ -122,3 +122,8 @@ test!(
|
|||||||
"a {\n color: #{\"\\b\"};\n}\n",
|
"a {\n color: #{\"\\b\"};\n}\n",
|
||||||
"a {\n color: \x0b;\n}\n"
|
"a {\n color: \x0b;\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
quote_escape,
|
||||||
|
"a {\n color: quote(\\b);\n}\n",
|
||||||
|
"a {\n color: \"\\\\b \";\n}\n"
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user