diff options
author | Alexander Early <alexander.early@gmail.com> | 2018-06-03 22:32:12 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2018-06-03 22:32:12 -0700 |
commit | 8fedfa3dfc72490e1fc99eb8b9b0c742ffed6e98 (patch) | |
tree | 758a7f60094610d209f23942293965fbcf20e72e | |
parent | 365f19c1916a461c430e58a51ffe91ae6e964f59 (diff) | |
download | async-8fedfa3dfc72490e1fc99eb8b9b0c742ffed6e98.tar.gz |
fix lint
-rw-r--r-- | test/auto.js | 2 | ||||
-rw-r--r-- | test/eachOf.js | 6 | ||||
-rw-r--r-- | test/parallel.js | 2 | ||||
-rw-r--r-- | test/waterfall.js | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/test/auto.js b/test/auto.js index 1c90135..055cb31 100644 --- a/test/auto.js +++ b/test/auto.js @@ -184,7 +184,7 @@ describe('auto', function () { callback('testerror2'); } }, - function(err){ + function(){ throw new Error('should not get here') }); setTimeout(() => { diff --git a/test/eachOf.js b/test/eachOf.js index 6ded04f..791413a 100644 --- a/test/eachOf.js +++ b/test/eachOf.js @@ -414,7 +414,7 @@ describe("eachOf", function() { return callback(false); } callback() - }, function(err){ + }, function(){ throw new Error('should not get here') }); setTimeout(() => { @@ -435,7 +435,7 @@ describe("eachOf", function() { } callback() }) - }, function(err){ + }, function(){ throw new Error('should not get here') }); setTimeout(() => { @@ -459,7 +459,7 @@ describe("eachOf", function() { } callback() }) - }, function(err){ + }, function(){ throw new Error('should not get here') }); setTimeout(() => { diff --git a/test/parallel.js b/test/parallel.js index e4af6f8..c7de888 100644 --- a/test/parallel.js +++ b/test/parallel.js @@ -208,7 +208,7 @@ describe('parallel', function() { } ], 1, - function(err){ + function(){ throw new Error('should not get here') }); setTimeout(() => { diff --git a/test/waterfall.js b/test/waterfall.js index 901d59b..440cb7a 100644 --- a/test/waterfall.js +++ b/test/waterfall.js @@ -103,7 +103,7 @@ describe("waterfall", function () { assert(false, 'next function should not be called'); callback(); } - ], function(err){ + ], function(){ throw new Error('should not get here') }); setTimeout(() => { |