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

doc: fix typos

This commit is contained in:
Ruben Bridgewater
2017-05-05 18:24:31 +02:00
parent c81f85576c
commit 086c90d938
8 changed files with 19 additions and 18 deletions

View File

@@ -933,7 +933,7 @@ describe('The nodeRedis client', function () {
});
client.once('ready', function () {
client.set('foo', 'bar', function (err, res) {
assert.strictEqual(err.message, 'Fatal error encountert. Command aborted. It might have been processed.');
assert.strictEqual(err.message, 'Fatal error encountered. Command aborted. It might have been processed.');
assert.strictEqual(err.code, 'NR_FATAL');
assert(err instanceof redis.AbortError);
error = err.origin;