summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2018-11-20 03:03:36 -0600
committerHubert Argasinski <argasinski.hubert@gmail.com>2018-11-20 03:03:36 -0600
commit529dd623ff2748aa24deefc233db2aa130b5b2a7 (patch)
treea91fdad3afc51442cb362dad7ab5575dda911369
parent491913b1a6202fabe59eee921411c2732e59ad84 (diff)
downloadasync-propagate-err.tar.gz
fix test descriptionspropagate-err
-rw-r--r--test/groupBy.js6
-rw-r--r--test/map.js6
-rw-r--r--test/series.js4
-rw-r--r--test/tryEach.js2
4 files changed, 9 insertions, 9 deletions
diff --git a/test/groupBy.js b/test/groupBy.js
index 84e3085..b00484c 100644
--- a/test/groupBy.js
+++ b/test/groupBy.js
@@ -45,7 +45,7 @@ describe('groupBy', function() {
}
next(null, val+1);
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
@@ -234,7 +234,7 @@ describe('groupBy', function() {
next(null, val+1);
});
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
@@ -368,7 +368,7 @@ describe('groupBy', function() {
next(null, val+1);
});
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
diff --git a/test/map.js b/test/map.js
index 3220a9c..b6bf6e2 100644
--- a/test/map.js
+++ b/test/map.js
@@ -112,7 +112,7 @@ describe("map", () => {
}
callback(null, x * 2);
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
expect(call_order).to.eql([1, 2, 3]);
@@ -177,7 +177,7 @@ describe("map", () => {
callback(null, x * 2);
});
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
expect(call_order).to.eql([1, 2]);
@@ -298,7 +298,7 @@ describe("map", () => {
callback(null, x * 2);
});
}, () => {
- throw new Error('final callback - should not get here');
+ throw new Error('should not get here');
});
setTimeout(() => {
expect(call_order).to.eql([1, 2, 3, 4]);
diff --git a/test/series.js b/test/series.js
index a2ba7cf..2b24c6f 100644
--- a/test/series.js
+++ b/test/series.js
@@ -98,11 +98,11 @@ describe('series', () => {
callback(false, 1);
},
function(callback) {
- assert(false, 'second function - should not be called');
+ assert(false, 'second function should not be called');
callback('error2', 2);
}
], () => {
- assert(false, 'final callback - should not be called');
+ assert(false, 'final callback should not be called');
});
setTimeout(done, 25);
diff --git a/test/tryEach.js b/test/tryEach.js
index 738ddf6..7af25b5 100644
--- a/test/tryEach.js
+++ b/test/tryEach.js
@@ -90,7 +90,7 @@ describe('tryEach', () => {
callback(false);
},
function() {
- assert.fail('task2 - should not been called');
+ assert.fail('task2 should not been called');
}
], () => {
assert.fail('should not been called');