test: refactor test-cluster-send-handle-twice.js · nodejs/node@f9f2cda · GitHub
Skip to content

Commit f9f2cda

Browse files
amarzaverytargos
authored andcommitted
test: refactor test-cluster-send-handle-twice.js
- `var` --> `const` as applicable - `assert.equal` --> `assert.strictEqual` - `assert(false, ..)` --> `common.fail()` - `common.mustCall` for functions that need to be called exactly once - modified an `assert(!signal, 'Worker exited by a signal');` call to `assert.strictEqual(signal, null);` call as that made more sense PR-URL: #10049 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent aba15fb commit f9f2cda

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

Lines changed: 14 additions & 14 deletions

0 commit comments

Comments
 (0)