From 65db5dbefe3c86040439a2dc2c95fc57c327399b Mon Sep 17 00:00:00 2001 From: Erin Spiceland Date: Sat, 15 Aug 2015 11:51:37 -0500 Subject: [PATCH] Clarify this one test is only applicable for IPv4. --- test/auth.spec.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/auth.spec.js b/test/auth.spec.js index a149f4b9cf..1854a84744 100644 --- a/test/auth.spec.js +++ b/test/auth.spec.js @@ -41,13 +41,14 @@ describe("client authentication", function () { client.auth(auth + 'bad'); }); - if (ip === 'IPv4') - it('allows auth to be provided as config option for client', function (done) { - client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT); - client.on("ready", function () { - return done(); + if (ip === 'IPv4') { + it('allows auth to be provided as config option for client', function (done) { + client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT); + client.on("ready", function () { + return done(); + }); }); - }); + } it('allows auth to be provided as part of redis url', function (done) { var args = config.configureClient(parser, ip, {