Skip to content

Commit

Permalink
Clarify this one test is only applicable for IPv4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Spiceland committed Aug 15, 2015
1 parent 2fd3b46 commit 65db5db
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/auth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 65db5db

Please sign in to comment.