Skip to content

Commit 193bb38

Browse files
committed
perf: prefer non extensive surrogate checking unless nessecary
1 parent 18af41f commit 193bb38

File tree

5 files changed

+293
-380
lines changed

5 files changed

+293
-380
lines changed

assembly/__tests__/lib/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Expectation {
3535
if (this.left != (isNull(right) ? "null" : right.toString())) {
3636
console.log(" " + currentDescription + "#" + currentId.toString() + "\n");
3737
// @ts-ignore
38-
console.log(" (expected) -> " + (isNull(right) ? "null" : JSON.stringify(right.toString())));
39-
console.log(" (received) -> " + JSON.stringify(this.left));
38+
console.log(" (expected) -> " + (isNull(right) ? "null" : right.toString()));
39+
console.log(" (received) -> " + this.left);
4040
unreachable();
4141
}
4242
}

0 commit comments

Comments
 (0)