You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Add some more tests
This commit is contained in:
@@ -263,6 +263,7 @@ describe("The 'multi' method", function () {
|
||||
it('reports multiple exceptions when they occur (while EXEC is running)', function (done) {
|
||||
client.multi().config("bar").debug("foo").exec(function (err, reply) {
|
||||
assert.strictEqual(reply.length, 2);
|
||||
assert.equal(reply[0].code, 'ERR');
|
||||
assert(/^ERR/.test(reply[0].message), "Error message should begin with ERR");
|
||||
assert(/^ERR/.test(reply[1].message), "Error message should begin with ERR");
|
||||
return done();
|
||||
|
Reference in New Issue
Block a user