Skip to content

Commit 4e98cb9

Browse files
author
Ruben Bridgewater
committed
Improve error message
1 parent 41d26dc commit 4e98cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/connection.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ describe('connection tests', function () {
371371
if (err.code === 'ENETUNREACH') { // The test is run without a internet connection. Pretent it works
372372
return done();
373373
}
374-
assert(/Redis connection in broken state: connection timeout.*?exceeded./.test(err.message));
374+
assert(/Redis connection in broken state: connection timeout.*?exceeded./.test(err.message), err.message);
375375
// The code execution on windows is very slow at times
376376
var add = process.platform !== 'win32' ? 15 : 200;
377377
var now = Date.now();

0 commit comments

Comments
 (0)