From 0799a9abaf3a656389dd103f000ee505f6a2465d 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 b6d695f5e81516..e9c01fda773d9e 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),