From 529dd623ff2748aa24deefc233db2aa130b5b2a7 Mon Sep 17 00:00:00 2001 From: Hubert Argasinski Date: Tue, 20 Nov 2018 03:03:36 -0600 Subject: fix test descriptions --- test/groupBy.js | 6 +++--- test/map.js | 6 +++--- test/series.js | 4 ++-- test/tryEach.js | 2 +- 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'); -- cgit v1.2.1