We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9743a86 commit f3a68a7Copy full SHA for f3a68a7
test/string.test.ts
@@ -41,7 +41,7 @@ it('handles escapes in strings', () => {
41
expect(parseString('"uwu \\n uwu"')).toBe('uwu \n uwu')
42
expect(parseString('"uwu \\f uwu"')).toBe('uwu \f uwu')
43
expect(parseString('"uwu \\r uwu"')).toBe('uwu \r uwu')
44
- expect(parseString('"uwu \\e uwu"')).toBe('uwu \e uwu')
+ expect(parseString('"uwu \\e uwu"')).toBe('uwu \x1b uwu')
45
expect(parseString('"uwu \\" uwu"')).toBe('uwu " uwu')
46
expect(parseString('"uwu \\\\ uwu"')).toBe('uwu \\ uwu')
47
expect(parseString('"uwu \\x61 uwu"')).toBe('uwu a uwu')
0 commit comments