Skip to content

Commit c980195

Browse files
committed
Fix test lint
1 parent 704c22a commit c980195

File tree

1 file changed

+2
-2
lines changed
  • test/node-api/test_threadsafe_function_shutdown

1 file changed

+2
-2
lines changed

test/node-api/test_threadsafe_function_shutdown/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (process.argv[2] === 'child') {
1111
setTimeout(() => {}, 100);
1212
} else {
1313
const child = fork(__filename, ['child']);
14-
child.on('close', (code) => {
14+
child.on('close', common.mustSucceed((code) => {
1515
assert.strictEqual(code, 0);
16-
});
16+
}));
1717
}

0 commit comments

Comments
 (0)