summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2014-12-17 14:58:09 -0500
committercjihrig <cjihrig@gmail.com>2014-12-17 15:08:22 -0500
commitf75a8ad7237f3bbe33d73725805c422f20f391ba (patch)
tree2d9b8666c5e87e0e5570af5fadac2d4919e5763c
parent542234ad984fd1fd90958f07f7f122530e7fb9c6 (diff)
downloadnode-new-f75a8ad7237f3bbe33d73725805c422f20f391ba.tar.gz
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: https://github.com/joyent/node/pull/8454 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r--test/simple/test-child-process-spawn-typeerror.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/simple/test-child-process-spawn-typeerror.js b/test/simple/test-child-process-spawn-typeerror.js
index 4a136db86c..5c2f8ec635 100644
--- a/test/simple/test-child-process-spawn-typeerror.js
+++ b/test/simple/test-child-process-spawn-typeerror.js
@@ -99,11 +99,5 @@ assert.doesNotThrow(function() { fork(empty, a); });
assert.doesNotThrow(function() { fork(empty, a, o); });
assert.doesNotThrow(function() { fork(empty, o); });
-// Variants of undefined as explicit 'no argument' at a position
-assert.doesNotThrow(function() { execFile(empty, u, o); });
-assert.doesNotThrow(function() { execFile(empty, a, u); });
-assert.doesNotThrow(function() { execFile(empty, n, o); });
-assert.doesNotThrow(function() { execFile(empty, a, n); });
-
assert.throws(function() { fork(empty, s); }, TypeError);
assert.doesNotThrow(function() { fork(empty, a, s); }, TypeError);