@@ -22,8 +22,8 @@ var compare = function (actual, expected, type) {
2222 assert . equal ( actual . host , expected . host , type + ' host' )
2323 assert . equal ( actual . password , expected . password , type + ' password' )
2424 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' )
2727}
2828
2929test ( 'ConnectionParameters initializing from defaults' , function ( ) {
@@ -39,7 +39,9 @@ test('ConnectionParameters initializing from defaults with connectionString set'
3939 port : 7777 ,
4040 password : 'mypassword' ,
4141 host : 'foo.bar.net' ,
42- binary : defaults . binary
42+ binary : defaults . binary ,
43+ statement_timeout : false ,
44+ idle_in_transaction_session_timeout : false ,
4345 }
4446
4547 var original_value = defaults . connectionString
0 commit comments