We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f2501c commit 0d7c36aCopy full SHA for 0d7c36a
test/test.ts
@@ -43,7 +43,7 @@ describe('devalue', () => {
43
test('two low surrogates', "a\uDC00\uDC00b", '"a\\uDC00\\uDC00b"');
44
test('two high surrogates', "a\uD800\uD800b", '"a\\uD800\\uD800b"');
45
test('surrogate pair', '𝌆', JSON.stringify('𝌆'));
46
- test('surrogate pair in wrong order', 'a\uDC00\uD800b', '"a\uDC00\uD800b"');
+ test('surrogate pair in wrong order', 'a\uDC00\uD800b', '"a\\uDC00\\uD800b"');
47
test('nul', '\0', '"\0"');
48
test('backslash', '\\', JSON.stringify('\\'));
49
});
0 commit comments