Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use assert.throws() in test-require-json.js
Use assert.throws() instead of try/catch. PR-URL: #28358 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
- Loading branch information