summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2018-06-03 22:32:12 -0700
committerAlexander Early <alexander.early@gmail.com>2018-06-03 22:32:12 -0700
commit8fedfa3dfc72490e1fc99eb8b9b0c742ffed6e98 (patch)
tree758a7f60094610d209f23942293965fbcf20e72e
parent365f19c1916a461c430e58a51ffe91ae6e964f59 (diff)
downloadasync-8fedfa3dfc72490e1fc99eb8b9b0c742ffed6e98.tar.gz
fix lint
-rw-r--r--test/auto.js2
-rw-r--r--test/eachOf.js6
-rw-r--r--test/parallel.js2
-rw-r--r--test/waterfall.js2
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(() => {