Skip to content

Commit

Permalink
Fix assertion in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Feb 7, 2025
1 parent 6319ce9 commit de26ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stringify-chunked.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function createStringifyTestFn(input, expected, ...args) {

if (actual !== expected) {
const escapedActual = JSON.stringify(actual);
const escapedExpected = JSON.stringify(actual);
const escapedExpected = JSON.stringify(expected);

if (actual !== escapedActual || expected !== escapedExpected) {
assert.strictEqual(escapedActual.slice(1, -1), escapedExpected.slice(1, -1));
Expand Down

0 comments on commit de26ba0

Please sign in to comment.