@@ -112,23 +112,23 @@ def test_raises_unknown_exceptions
112112 end
113113
114114 def test_modify_ops_delete
115- args = { :operations => [ [ :delete , "mail" ] ] }
115+ args = { :operations => [ [ :delete , "mail" ] ] }
116116 result = Net ::LDAP ::Connection . modify_ops ( args [ :operations ] )
117- expected = [ "0\r \n \x01 \x01 0\b \x04 \x04 mail1\x00 " ]
117+ expected = [ "0\r \n \x01 \x01 0\b \x04 \x04 mail1\x00 " ]
118118 assert_equal ( expected , result )
119119 end
120120
121121 def test_modify_ops_add
122- args = { :operations => [ [ :add , "mail" , "[email protected] " ] ] } 122+ args = { :operations => [ [ :add , "mail" , "[email protected] " ] ] } 123123 result = Net ::LDAP ::Connection . modify_ops ( args [ :operations ] )
124- expected = [ "0#\n \x01 \x00 0\x1E \x04 \x04 mail1\x16 \x04 \x14 [email protected] " ] 124+ expected = [ "0#\n \x01 \x00 0\x1E \x04 \x04 mail1\x16 \x04 \x14 [email protected] " ] 125125 assert_equal ( expected , result )
126126 end
127127
128128 def test_modify_ops_replace
129- args = { :operations => [ [ :replace , "mail" , "[email protected] " ] ] } 129+ args = { :operations => [ [ :replace , "mail" , "[email protected] " ] ] } 130130 result = Net ::LDAP ::Connection . modify_ops ( args [ :operations ] )
131- expected = [ "0#\n \x01 \x02 0\x1E \x04 \x04 mail1\x16 \x04 \x14 [email protected] " ] 131+ expected = [ "0#\n \x01 \x02 0\x1E \x04 \x04 mail1\x16 \x04 \x14 [email protected] " ] 132132 assert_equal ( expected , result )
133133 end
134134
@@ -463,7 +463,7 @@ def test_search_net_ldap_connection_event
463463 # search data
464464 search_data_ber = Net ::BER ::BerIdentifiedArray . new ( [ 1 , [
465465 "uid=user1,ou=People,dc=rubyldap,dc=com" ,
466- [ [ "uid" , [ "user1" ] ] ]
466+ [ [ "uid" , [ "user1" ] ] ]
467467 ] ] )
468468 search_data_ber . ber_identifier = Net ::LDAP ::PDU ::SearchReturnedData
469469 search_data = [ 1 , search_data_ber ]
0 commit comments