@@ -22,8 +22,8 @@ var compare = function (actual, expected, type) {
22
22
assert . equal ( actual . host , expected . host , type + ' host' )
23
23
assert . equal ( actual . password , expected . password , type + ' password' )
24
24
assert . equal ( actual . binary , expected . binary , type + ' binary' )
25
- assert . equal ( actual . statement_timout , expected . statement_timout , type + ' statement_timeout' )
26
- assert . equal ( actual . idle_in_transaction_session_timeout , expected . idle_in_transaction_session_timeout , type + 'idle_in_transaction_session_timeout' )
25
+ assert . equal ( actual . statement_timeout , expected . statement_timeout , type + ' statement_timeout' )
26
+ assert . equal ( actual . idle_in_transaction_session_timeout , expected . idle_in_transaction_session_timeout , type + ' idle_in_transaction_session_timeout' )
27
27
}
28
28
29
29
test ( 'ConnectionParameters initializing from defaults' , function ( ) {
@@ -39,7 +39,9 @@ test('ConnectionParameters initializing from defaults with connectionString set'
39
39
port : 7777 ,
40
40
password : 'mypassword' ,
41
41
host : 'foo.bar.net' ,
42
- binary : defaults . binary
42
+ binary : defaults . binary ,
43
+ statement_timeout : false ,
44
+ idle_in_transaction_session_timeout : false ,
43
45
}
44
46
45
47
var original_value = defaults . connectionString
0 commit comments