Give more info on failure

This commit is contained in:
Sandro Santilli
2014-02-21 16:56:50 +01:00
parent 6824c09916
commit 8e68716d16
+2 -1
View File
@@ -175,7 +175,8 @@ suite('server', function() {
},
function setupRedisBase(err, matches) {
if ( err ) throw err;
assert.equal(matches.length, 0);
assert.equal(matches.length, 0,
'Unexpected redis keys at test start: ' + matches.join("\n"));
redis_client.set(base_key,
JSON.stringify({ style: style }),
this);