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 snack_case and always use camelCase
This commit is contained in:
committed by
Ruben Bridgewater
parent
a86c998a64
commit
28afc33c9a
@@ -122,9 +122,9 @@ describe('createClient options', function () {
|
||||
});
|
||||
unhookIntercept();
|
||||
assert.strictEqual(text,
|
||||
'node_redis: WARNING: You passed the db option twice!\n' +
|
||||
'node_redis: WARNING: You passed the port option twice!\n' +
|
||||
'node_redis: WARNING: You passed the password option twice!\n'
|
||||
'nodeRedis: WARNING: You passed the db option twice!\n' +
|
||||
'nodeRedis: WARNING: You passed the port option twice!\n' +
|
||||
'nodeRedis: WARNING: You passed the password option twice!\n'
|
||||
);
|
||||
assert.strictEqual(Object.keys(options).length, 5);
|
||||
assert.strictEqual(options.option.length, 3);
|
||||
@@ -162,7 +162,7 @@ describe('createClient options', function () {
|
||||
unhookIntercept();
|
||||
assert.strictEqual(Object.keys(options).length, 1);
|
||||
assert.strictEqual(options.host, 'abc');
|
||||
assert.strictEqual(text, 'node_redis: WARNING: You passed "http" as protocol instead of the "redis" protocol!\n');
|
||||
assert.strictEqual(text, 'nodeRedis: WARNING: You passed "http" as protocol instead of the "redis" protocol!\n');
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user