Skip to content

Commit 69150d6

Browse files
committed
fix: bson corpus spec runner calling wrong fn
1 parent 7b351cc commit 69150d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/node/bson_corpus_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe('BSON Corpus', function () {
192192
describe('parseErrors', function () {
193193
scenario.parseErrors.forEach(p => {
194194
it(p.description, function () {
195-
expect(() => Decimal128.fromString(scenario.string)).to.throw();
195+
expect(() => jsonToNative(scenario.string)).to.throw();
196196
});
197197
});
198198
});

0 commit comments

Comments
 (0)