Browse Source

Merge pull request #1255 from gorbiz/patch-1

📝 fix typo: To / Too
master
Kyle J. Davis 7 years ago
committed by GitHub
parent
commit
a3aa4725c2
  1. 2
      README.md

2
README.md

@ -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']);

Loading…
Cancel
Save