test,worker_threads: refactor test-worker-cleanup-handles
- alphabetize require() statements for built-in modules by module name
- remove unused function argument
code
in callback - replace common.expectsError() with assert.throws()
- remove unneeded line-wrap
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines