@@ -137,7 +137,7 @@ tests.IPV4 = function () {
137
137
console . error ( "client: " + err . stack ) ;
138
138
process . exit ( ) ;
139
139
} ) ;
140
- }
140
+ } ;
141
141
142
142
tests . IPV6 = function ( ) {
143
143
if ( ! server_version_at_least ( client , [ 2 , 8 , 0 ] ) ) {
@@ -163,7 +163,7 @@ tests.IPV6 = function () {
163
163
console . error ( "client: " + err . stack ) ;
164
164
process . exit ( ) ;
165
165
} ) ;
166
- }
166
+ } ;
167
167
168
168
tests . UNIX_SOCKET = function ( ) {
169
169
var unixClient = redis . createClient ( '/tmp/redis.sock' , { parser : parser } ) ;
@@ -189,7 +189,7 @@ tests.UNIX_SOCKET = function () {
189
189
console . error ( "client: " + err . stack ) ;
190
190
process . exit ( ) ;
191
191
} ) ;
192
- }
192
+ } ;
193
193
194
194
tests . FLUSHDB = function ( ) {
195
195
var name = "FLUSHDB" ;
@@ -1543,7 +1543,7 @@ tests.HGETALL_MESSAGE = function () {
1543
1543
client . hgetall ( "msg_test" , function ( err , obj ) {
1544
1544
assert . strictEqual ( null , err , name + " result sent back unexpected error: " + err ) ;
1545
1545
assert . strictEqual ( 1 , Object . keys ( obj ) . length , name ) ;
1546
- assert . strictEqual ( obj . message , "hello" )
1546
+ assert . strictEqual ( obj . message , "hello" ) ;
1547
1547
next ( name ) ;
1548
1548
} ) ;
1549
1549
} ;
@@ -2178,8 +2178,8 @@ tests.ENABLE_OFFLINE_QUEUE_FALSE = function () {
2178
2178
// ignore, see above
2179
2179
} ) ;
2180
2180
assert . throws ( function ( ) {
2181
- cli . set ( name , name )
2182
- } )
2181
+ cli . set ( name , name ) ;
2182
+ } ) ;
2183
2183
assert . doesNotThrow ( function ( ) {
2184
2184
cli . set ( name , name , function ( err ) {
2185
2185
// should callback with an error
@@ -2205,7 +2205,7 @@ tests.SLOWLOG = function () {
2205
2205
client . config ( "set" , "slowlog-log-slower-than" , 10000 , require_string ( "OK" , name ) ) ;
2206
2206
next ( name ) ;
2207
2207
} ) ;
2208
- }
2208
+ } ;
2209
2209
2210
2210
tests . DOMAIN = function ( ) {
2211
2211
var name = "DOMAIN" ;
@@ -2323,9 +2323,9 @@ tests.unref = function () {
2323
2323
var external = fork ( "./test/test-unref.js" ) ;
2324
2324
var done = false ;
2325
2325
external . on ( "close" , function ( code ) {
2326
- assert ( code == 0 , "test-unref.js failed" ) ;
2326
+ assert ( code === 0 , "test-unref.js failed" ) ;
2327
2327
done = true ;
2328
- } )
2328
+ } ) ;
2329
2329
setTimeout ( function ( ) {
2330
2330
if ( ! done ) {
2331
2331
external . kill ( ) ;
@@ -2336,7 +2336,7 @@ tests.unref = function () {
2336
2336
} ;
2337
2337
2338
2338
// starting to split tests into multiple files.
2339
- require ( './queue-test' ) ( tests , next )
2339
+ require ( './queue-test' ) ( tests , next ) ;
2340
2340
2341
2341
all_tests = Object . keys ( tests ) ;
2342
2342
all_start = new Date ( ) ;
0 commit comments