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

📝 fix typo: To / Too

This commit is contained in:
Karl Svartholm
2017-07-13 20:06:54 +02:00
committed by GitHub
parent 5ef1aef5f4
commit 7ce73189b9

View File

@@ -330,7 +330,7 @@ client.on('error', function (err) {
assert.strictEqual(err.errors.length, 2); // The set and get got aggregated in here
assert.strictEqual(err.code, 'NR_CLOSED');
});
client.set('foo', 123, 'bar', function (err, res) { // To many arguments
client.set('foo', 123, 'bar', function (err, res) { // Too many arguments
assert(err instanceof redis.ReplyError); // => true
assert.strictEqual(err.command, 'SET');
assert.deepStrictEqual(err.args, ['foo', 123, 'bar']);