css: allow escaped first char in identifier name

This commit is contained in:
Pierre Tachoire
2025-07-10 14:01:52 -07:00
parent 29671acdb6
commit 18796ae44e
3 changed files with 41 additions and 1 deletions

View File

@@ -336,4 +336,8 @@ test "JS: primitive types" {
.{ "p.returnFloat32()", "1.100000023841858,-200.03500366210938,0.0003000000142492354" },
.{ "p.returnFloat64()", "8881.22284,-4928.3838122,-0.00004" },
}, .{});
try runner.testCases(&.{
.{ "'foo\\\\:bar'", "foo\\:bar" },
}, .{});
}