Skip to content

Commit 00d20d9

Browse files
committed
Remove unused arguments
1 parent 3d1fb63 commit 00d20d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/promises.tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ test("forEachSeries", {
166166

167167
test("nfcall", {
168168
"when function throws error then promise is rejected": function() {
169-
return promises.nfcall(function(callback) {
169+
return promises.nfcall(function() {
170170
throw new Error("failure");
171171
}).then(
172-
function(result) {
172+
function() {
173173
assert.fail("Expected rejection");
174174
},
175175
function(error) {
@@ -182,7 +182,7 @@ test("nfcall", {
182182
return promises.nfcall(function(callback) {
183183
callback(new Error("failure"));
184184
}).then(
185-
function(result) {
185+
function() {
186186
assert.fail("Expected rejection");
187187
},
188188
function(error) {

0 commit comments

Comments
 (0)