Skip to content

Commit 9457039

Browse files
author
Dmitry Dutikov
committed
test fixed
1 parent a5477a5 commit 9457039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stringify.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ suite('Stringify method tests', function () {
214214
this.valueOf = () => this.value;
215215
};
216216
const js = new Ctor(1, 2);
217-
assert.throws(() => JSON22.parse(js));
217+
assert.throws(() => JSON22.stringify(js));
218218
});
219219

220220
});

0 commit comments

Comments
 (0)