Skip to content

Commit

Permalink
test: remove unused var from test-assert.js
Browse files Browse the repository at this point in the history
`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: #4405
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and Fishrock123 committed Jan 6, 2016
1 parent 65c40d7 commit 0799a9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0799a9a

Please sign in to comment.