1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Some small code style changes

Revert some done stuff
This commit is contained in:
Ruben Bridgewater
2015-09-01 21:45:54 +02:00
parent 9acbd6c860
commit ba779ac361
3 changed files with 12 additions and 8 deletions

View File

@@ -124,19 +124,23 @@ describe("The node_redis client", function () {
client.on("connect", function on_connect() {
async.parallel([function (cb) {
client.get("recon 1", function (err, res) {
helper.isString("one", cb)(err, res);
helper.isString("one")(err, res);
cb();
});
}, function (cb) {
client.get("recon 1", function (err, res) {
helper.isString("one", cb)(err, res);
helper.isString("one")(err, res);
cb();
});
}, function (cb) {
client.get("recon 2", function (err, res) {
helper.isString("two", cb)(err, res);
helper.isString("two")(err, res);
cb();
});
}, function (cb) {
client.get("recon 2", function (err, res) {
helper.isString("two", cb)(err, res);
helper.isString("two")(err, res);
cb();
});
}], function (err, results) {
client.removeListener("connect", on_connect);