Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit f75a8ad

Browse files
committedDec 17, 2014
test: remove redundant code in test
A block of asserts were duplicated in test/simple/test-child-process-spawn-typeerror.js. This commit removes the duplicated asserts. Fixes: #8454 Reviewed-By: Colin Ihrig <[email protected]>
1 parent 542234a commit f75a8ad

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎test/simple/test-child-process-spawn-typeerror.js

-6
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,5 @@ assert.doesNotThrow(function() { fork(empty, a); });
9999
assert.doesNotThrow(function() { fork(empty, a, o); });
100100
assert.doesNotThrow(function() { fork(empty, o); });
101101

102-
// Variants of undefined as explicit 'no argument' at a position
103-
assert.doesNotThrow(function() { execFile(empty, u, o); });
104-
assert.doesNotThrow(function() { execFile(empty, a, u); });
105-
assert.doesNotThrow(function() { execFile(empty, n, o); });
106-
assert.doesNotThrow(function() { execFile(empty, a, n); });
107-
108102
assert.throws(function() { fork(empty, s); }, TypeError);
109103
assert.doesNotThrow(function() { fork(empty, a, s); }, TypeError);

0 commit comments

Comments
 (0)