From 4a7558ee6103636f0691c1ea0a2280f80cdb887c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 23 Dec 2015 13:09:34 -0800 Subject: [PATCH] test: remove unused var from test-assert.js `aethrow` is defined as a function returned from makeBlock() but the function is never used and the call to makeBlock() does not run any tests. PR-URL: https://github.com/nodejs/node/pull/4405 Reviewed-By: James M Snell --- test/parallel/test-assert.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js index 7e40ecb78b80c4..b28ca03ca97e65 100644 --- a/test/parallel/test-assert.js +++ b/test/parallel/test-assert.js @@ -271,8 +271,6 @@ assert.throws(makeBlock(a.deepStrictEqual, new Boolean(true), {}), function thrower(errorConstructor) { throw new errorConstructor('test'); } -var aethrow = makeBlock(thrower, a.AssertionError); -aethrow = makeBlock(thrower, a.AssertionError); // the basic calls work assert.throws(makeBlock(thrower, a.AssertionError),