Skip to content

Commit 8663b4a

Browse files
committed
Test escaping unicode characters
1 parent e77dfa8 commit 8663b4a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ describe('javascript-stringify', function () {
2727
'should escape back slashes',
2828
test('back\\slash', "'back\\\\slash'")
2929
);
30+
31+
it(
32+
'should escape certain unicode sequences',
33+
test('\u0602', "'\\u0602'")
34+
);
3035
});
3136

3237
describe('numbers', function () {

0 commit comments

Comments
 (0)