@@ -137,7 +137,7 @@ tests.IPV4 = function () {
137137 console . error ( "client: " + err . stack ) ;
138138 process . exit ( ) ;
139139 } ) ;
140- }
140+ } ;
141141
142142tests . IPV6 = function ( ) {
143143 if ( ! server_version_at_least ( client , [ 2 , 8 , 0 ] ) ) {
@@ -163,7 +163,7 @@ tests.IPV6 = function () {
163163 console . error ( "client: " + err . stack ) ;
164164 process . exit ( ) ;
165165 } ) ;
166- }
166+ } ;
167167
168168tests . UNIX_SOCKET = function ( ) {
169169 var unixClient = redis . createClient ( '/tmp/redis.sock' , { parser : parser } ) ;
@@ -189,7 +189,7 @@ tests.UNIX_SOCKET = function () {
189189 console . error ( "client: " + err . stack ) ;
190190 process . exit ( ) ;
191191 } ) ;
192- }
192+ } ;
193193
194194tests . FLUSHDB = function ( ) {
195195 var name = "FLUSHDB" ;
@@ -1543,7 +1543,7 @@ tests.HGETALL_MESSAGE = function () {
15431543 client . hgetall ( "msg_test" , function ( err , obj ) {
15441544 assert . strictEqual ( null , err , name + " result sent back unexpected error: " + err ) ;
15451545 assert . strictEqual ( 1 , Object . keys ( obj ) . length , name ) ;
1546- assert . strictEqual ( obj . message , "hello" )
1546+ assert . strictEqual ( obj . message , "hello" ) ;
15471547 next ( name ) ;
15481548 } ) ;
15491549} ;
@@ -2178,8 +2178,8 @@ tests.ENABLE_OFFLINE_QUEUE_FALSE = function () {
21782178 // ignore, see above
21792179 } ) ;
21802180 assert . throws ( function ( ) {
2181- cli . set ( name , name )
2182- } )
2181+ cli . set ( name , name ) ;
2182+ } ) ;
21832183 assert . doesNotThrow ( function ( ) {
21842184 cli . set ( name , name , function ( err ) {
21852185 // should callback with an error
@@ -2205,7 +2205,7 @@ tests.SLOWLOG = function () {
22052205 client . config ( "set" , "slowlog-log-slower-than" , 10000 , require_string ( "OK" , name ) ) ;
22062206 next ( name ) ;
22072207 } ) ;
2208- }
2208+ } ;
22092209
22102210tests . DOMAIN = function ( ) {
22112211 var name = "DOMAIN" ;
@@ -2323,9 +2323,9 @@ tests.unref = function () {
23232323 var external = fork ( "./test/test-unref.js" ) ;
23242324 var done = false ;
23252325 external . on ( "close" , function ( code ) {
2326- assert ( code == 0 , "test-unref.js failed" ) ;
2326+ assert ( code === 0 , "test-unref.js failed" ) ;
23272327 done = true ;
2328- } )
2328+ } ) ;
23292329 setTimeout ( function ( ) {
23302330 if ( ! done ) {
23312331 external . kill ( ) ;
@@ -2336,7 +2336,7 @@ tests.unref = function () {
23362336} ;
23372337
23382338// starting to split tests into multiple files.
2339- require ( './queue-test' ) ( tests , next )
2339+ require ( './queue-test' ) ( tests , next ) ;
23402340
23412341all_tests = Object . keys ( tests ) ;
23422342all_start = new Date ( ) ;
0 commit comments