node/test/addons-napi/test_general
Ruben Bridgewater caee112e52
test: remove assert.doesNotThrow()
There is actually no reason to use `assert.doesNotThrow()` in the
tests. If a test throws, just let the error bubble up right away
instead of first catching it and then rethrowing it.

PR-URL: https://github.com/nodejs/node/pull/18669
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-02-16 16:53:47 +01:00
..
binding.gyp Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
test.js test: remove assert.doesNotThrow() 2018-02-16 16:53:47 +01:00
testGlobals.js Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
testInstanceOf.js Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
testNapiRun.js Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
testNapiStatus.js Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
test_general.c n-api: fix warning about size_t compare with int 2017-09-24 10:47:27 -04:00