hexchars escaped in strings don't recieve trailing space

This commit is contained in:
ConnorSkees 2020-03-31 11:52:28 -04:00
parent 84b6ca9180
commit 526b4aa15f
2 changed files with 6 additions and 1 deletions

View File

@ -106,3 +106,8 @@ test!(
"a {\n color: \"\\g\";\n}\n", "a {\n color: \"\\g\";\n}\n",
"a {\n color: \"g\";\n}\n" "a {\n color: \"g\";\n}\n"
); );
test!(
escapes_hex_in_string_no_trailing_space,
"a {\n color: \"\\b\\c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m\\n\\o\\p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z\";\n}\n",
"a {\n color: \"\\b\\c\\d\\e\\fghijklmnopqrstuvwxyz\";\n}\n"
);