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

Fix typos / comments

This commit is contained in:
Ruben Bridgewater
2016-04-13 04:29:02 +02:00
parent cd58e1fd89
commit 5d12659583
6 changed files with 15 additions and 14 deletions

View File

@@ -53,7 +53,7 @@ describe('client authentication', function () {
client.auth(auth, function (err, res) {
assert.strictEqual('retry worked', res);
var now = Date.now();
// Hint: setTimeout sometimes triggers early and therefor the value can be like one or two ms to early
// Hint: setTimeout sometimes triggers early and therefore the value can be like one or two ms to early
assert(now - time >= 98, 'Time should be above 100 ms (the reconnect time) and is ' + (now - time));
assert(now - time < 225, 'Time should be below 255 ms (the reconnect should only take a bit above 100 ms) and is ' + (now - time));
done();