File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,14 @@ describe("client authentication", function () {
41
41
client . auth ( auth + 'bad' ) ;
42
42
} ) ;
43
43
44
- if ( ip === 'IPv4' )
45
- it ( 'allows auth to be provided as config option for client' , function ( done ) {
46
- client = redis . createClient ( 'redis://foo:' + auth + '@' + config . HOST [ ip ] + ':' + config . PORT ) ;
47
- client . on ( "ready" , function ( ) {
48
- return done ( ) ;
44
+ if ( ip === 'IPv4' ) {
45
+ it ( 'allows auth to be provided as config option for client' , function ( done ) {
46
+ client = redis . createClient ( 'redis://foo:' + auth + '@' + config . HOST [ ip ] + ':' + config . PORT ) ;
47
+ client . on ( "ready" , function ( ) {
48
+ return done ( ) ;
49
+ } ) ;
49
50
} ) ;
50
- } ) ;
51
+ }
51
52
52
53
it ( 'allows auth to be provided as part of redis url' , function ( done ) {
53
54
var args = config . configureClient ( parser , ip , {
You can’t perform that action at this time.
0 commit comments