From 1b2733f272b77fb2beaa4b1f5ee600e8b9c36e14 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 5 Jul 2017 15:04:24 +0200 Subject: test: common.expectsError should be a must call Wrap expectsError in mustCall to make sure it's really called as expected. PR-URL: https://github.com/nodejs/node/pull/14088 Reviewed-By: Refael Ackermann Reviewed-By: Benjamin Gruenbaum --- test/parallel/test-process-kill-pid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel/test-process-kill-pid.js') diff --git a/test/parallel/test-process-kill-pid.js b/test/parallel/test-process-kill-pid.js index 74491710d2..994a19f5cc 100644 --- a/test/parallel/test-process-kill-pid.js +++ b/test/parallel/test-process-kill-pid.js @@ -42,7 +42,7 @@ const invalidPidArgument = common.expectsError({ code: 'ERR_INVALID_ARG_TYPE', type: TypeError, message: 'The "pid" argument must be of type Number' -}); +}, 6); assert.throws(function() { process.kill('SIGTERM'); }, invalidPidArgument); -- cgit v1.2.1