From 686a85ff43471e66b1ba071a4710f362b2ccac0a 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 4667824758..818f4574da 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),