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

chore: remove support for UPPER_CASE commands

This commit is contained in:
Ruben Bridgewater
2017-05-06 01:46:29 +02:00
parent f92bc18c16
commit 19f3d20b47
41 changed files with 136 additions and 137 deletions

View File

@ -22,7 +22,7 @@ describe("The 'ttl' method", function () {
it('returns the current ttl on a key', function (done) {
client.set(['ttl key', 'ttl val'], helper.isString('OK'));
client.expire(['ttl key', '100'], helper.isNumber(1));
client.TTL(['ttl key'], function (err, ttl) {
client.ttl(['ttl key'], function (err, ttl) {
assert(ttl >= 99);
assert(ttl <= 100);
done(err);