diff options
author | cjihrig <cjihrig@gmail.com> | 2014-12-17 14:58:09 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2014-12-17 15:08:22 -0500 |
commit | f75a8ad7237f3bbe33d73725805c422f20f391ba (patch) | |
tree | 2d9b8666c5e87e0e5570af5fadac2d4919e5763c /test | |
parent | 542234ad984fd1fd90958f07f7f122530e7fb9c6 (diff) | |
download | node-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>
Diffstat (limited to 'test')
-rw-r--r-- | test/simple/test-child-process-spawn-typeerror.js | 6 |
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 4a136db86..5c2f8ec63 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); |