You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Add simicolons and remove trailing whitespace
This commit is contained in:
@@ -19,11 +19,10 @@ describe("The 'client' method", function () {
|
||||
client.once("connect", function () {
|
||||
client.flushdb(function (err) {
|
||||
if (!helper.serverVersionAtLeast(client, [2, 4, 0])) {
|
||||
err = Error('script not supported in redis <= 2.4.0')
|
||||
err = Error('script not supported in redis <= 2.4.0');
|
||||
}
|
||||
return done(err);
|
||||
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -39,15 +38,15 @@ describe("The 'client' method", function () {
|
||||
it("lists connected clients when invoked with multi's chaining syntax", function (done) {
|
||||
client.multi().client("list").exec(function(err, results) {
|
||||
assert(pattern.test(results[0]), "expected string '" + results + "' to match " + pattern.toString());
|
||||
return done()
|
||||
})
|
||||
return done();
|
||||
});
|
||||
});
|
||||
|
||||
it("lists connected clients when invoked with multi's array syntax", function (done) {
|
||||
client.multi().client("list").exec(function(err, results) {
|
||||
assert(pattern.test(results[0]), "expected string '" + results + "' to match " + pattern.toString());
|
||||
return done()
|
||||
})
|
||||
return done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user