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

test: Fix typo encountert in test

This commit is contained in:
Andy Ganchrow
2019-02-05 11:06:16 -08:00
committed by Ruben Bridgewater
parent 171cbc5a09
commit 128ca62346

View File

@@ -904,7 +904,7 @@ describe('The node_redis client', function () {
}); });
client.once('ready', function () { client.once('ready', function () {
client.set('foo', 'bar', function (err, res) { 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.strictEqual(err.code, 'NR_FATAL');
assert(err instanceof redis.AbortError); assert(err instanceof redis.AbortError);
error = err.origin; error = err.origin;