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 () {
4141 client . auth ( auth + 'bad' ) ;
4242 } ) ;
4343
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+ } ) ;
4950 } ) ;
50- } ) ;
51+ }
5152
5253 it ( 'allows auth to be provided as part of redis url' , function ( done ) {
5354 var args = config . configureClient ( parser , ip , {
You can’t perform that action at this time.
0 commit comments