Skip to content

Commit 87ae9b8

Browse files
Merge pull request #312 from olleolleolle/fix-rubocop-lint-details
Fix RuboCop warnings
2 parents 1d81177 + b5cd9ba commit 87ae9b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/net/ldap/filter.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def match(entry)
646646
##
647647
# Converts escaped characters (e.g., "\\28") to unescaped characters
648648
# @note slawson20170317: Don't attempt to unescape 16 byte binary data which we assume are objectGUIDs
649-
# The binary form of 5936AE79-664F-44EA-BCCB-5C39399514C6 triggers a BINARY -> UTF-8 conversion error
649+
# The binary form of 5936AE79-664F-44EA-BCCB-5C39399514C6 triggers a BINARY -> UTF-8 conversion error
650650
def unescape(right)
651651
right = right.to_s
652652
if right.length == 16 && right.encoding == Encoding::BINARY

Diff for: test/integration/test_password_modify.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class TestPasswordModifyIntegration < LDAPIntegrationTestCase
44
def setup
55
super
6-
@admin_account = {dn: 'cn=admin,dc=example,dc=org', password: 'admin', method: :simple}
6+
@admin_account = { dn: 'cn=admin,dc=example,dc=org', password: 'admin', method: :simple }
77
@ldap.authenticate @admin_account[:dn], @admin_account[:password]
88

99
@dn = 'uid=modify-password-user1,ou=People,dc=example,dc=org'

0 commit comments

Comments
 (0)