add more tests for quoting and !important

This commit is contained in:
ConnorSkees 2020-03-31 23:39:32 -04:00
parent c98bc46c10
commit 57f941350b
2 changed files with 9 additions and 0 deletions

View File

@ -101,3 +101,7 @@ test!(
"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"
);

View File

@ -122,3 +122,8 @@ test!(
"a {\n color: #{\"\\b\"};\n}\n",
"a {\n color: \x0b;\n}\n"
);
test!(
quote_escape,
"a {\n color: quote(\\b);\n}\n",
"a {\n color: \"\\\\b \";\n}\n"
);