summaryrefslogtreecommitdiff
path: root/test/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/map.js')
-rw-r--r--test/map.js6
1 files changed, 3 insertions, 3 deletions
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]);