summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 10:10:10 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 10:10:10 +0100
commitaff29c0585d499d6cf9ad57080a928cda8d36b7e (patch)
tree9ca5bb5221d48f17f8d5a6bbac24cb3320fcf01a
parentcd29840d0d90e6940888b30dd73fb0494aa9cce4 (diff)
Fixed syntax error.
-rw-r--r--lib/custodian/protocoltest/ldap.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/custodian/protocoltest/ldap.rb b/lib/custodian/protocoltest/ldap.rb
index 4a6009f..baabd7f 100644
--- a/lib/custodian/protocoltest/ldap.rb
+++ b/lib/custodian/protocoltest/ldap.rb
@@ -125,7 +125,7 @@ module Custodian
else
@error = "failed to bind to LDAP server '#{@host}' with username '#{@ldap_user}' and password '#{@ldap_pass}'"
return false
- .end
+ end
end
rescue LDAP::ResultError => ex
@error = "LDAP exception: #{ex} when talking to LDAP server '#{@host}' with username '#{@ldap_user}' and password '#{@ldap_pass}'"
@@ -148,8 +148,5 @@ module Custodian
register_test_type 'ldap'
-
-
- end
end
end