You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Remove code overhead
Add another domain test Fix test on node 0.10
This commit is contained in:
@@ -16,16 +16,14 @@ describe("The 'incr' method", function () {
|
||||
var client;
|
||||
|
||||
beforeEach(function (done) {
|
||||
client = redis.createClient.apply(redis.createClient, args);
|
||||
client = redis.createClient.apply(null, args);
|
||||
client.once("ready", function () {
|
||||
client.set(key, "9007199254740992", function (err, res) {
|
||||
helper.isNotError()(err, res);
|
||||
client.quit();
|
||||
});
|
||||
});
|
||||
client.on('end', function () {
|
||||
return done();
|
||||
});
|
||||
client.on('end', done);
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
@@ -52,7 +50,7 @@ describe("The 'incr' method", function () {
|
||||
9007199254740996 -> 9007199254740996
|
||||
9007199254740997 -> 9007199254740996
|
||||
*/
|
||||
client = redis.createClient.apply(redis.createClient, args);
|
||||
client = redis.createClient.apply(null, args);
|
||||
client.once("error", done);
|
||||
client.once("ready", function () {
|
||||
client.set(key, "9007199254740992", function (err, res) {
|
||||
|
Reference in New Issue
Block a user