Skip to content

Commit

Permalink
Fix deprecated assert test, minor code format issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
kshetline committed Aug 10, 2019
1 parent d1c312f commit ac3b392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/options-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ module.exports = {

removeGlobalizedTypeHandlers() {
platform.removeGlobalizedTypeHandlers();
}
},
};

Object.freeze(compatibleOptions);
Expand Down
2 changes: 1 addition & 1 deletion test/stringify.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ describe('JSONZ', () => {
assert.strictEqual(JSONZ.stringify({a: 1, b: NaN, c: bi, d: bd}), '{a: 1, b: NaN, c: 1n, d: 1m}');

assert.ok(optionsMgr.getOptionSet(JSONZ.OptionSet.RELAXED));
assert.deepEqual(optionsMgr.getOptionSet(-1), {});
assert.deepStrictEqual(optionsMgr.getOptionSet(-1), {});
});
});

Expand Down

0 comments on commit ac3b392

Please sign in to comment.