You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
This commit is contained in:
@@ -23,16 +23,16 @@ describe("The 'info' method", function () {
|
||||
client.end(true);
|
||||
});
|
||||
|
||||
it('update server_info after a info command', function (done) {
|
||||
it('update serverInfo after a info command', function (done) {
|
||||
client.set('foo', 'bar');
|
||||
client.info();
|
||||
client.select(2, function () {
|
||||
assert.strictEqual(client.server_info.db2, undefined);
|
||||
assert.strictEqual(client.serverInfo.db2, undefined);
|
||||
});
|
||||
client.set('foo', 'bar');
|
||||
client.info();
|
||||
setTimeout(function () {
|
||||
assert.strictEqual(typeof client.server_info.db2, 'object');
|
||||
assert.strictEqual(typeof client.serverInfo.db2, 'object');
|
||||
done();
|
||||
}, 30);
|
||||
});
|
||||
|
Reference in New Issue
Block a user