summaryrefslogtreecommitdiff
path: root/t/test-ldap-probe.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:15 +0000
commitaf2ee063abea8235a8cbd1448533e4f4fbc0d0af (patch)
tree969e448e2d5995f7e838a68ef1d25d54df9b8d29 /t/test-ldap-probe.rb
parentbb2ec1f07af747c69f2fd1e5b70c41b35fb069e6 (diff)
Prefer single-quotes when you don't need interpolation.
So "foo" is less good than 'foo'.
Diffstat (limited to 't/test-ldap-probe.rb')
-rwxr-xr-xt/test-ldap-probe.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-ldap-probe.rb b/t/test-ldap-probe.rb
index 5273b31..63e95a3 100755
--- a/t/test-ldap-probe.rb
+++ b/t/test-ldap-probe.rb
@@ -34,7 +34,7 @@ class TestLDAPProbe < Test::Unit::TestCase
assert( test.kind_of? Array )
assert( ! test.empty? )
- assert_equal( test[0].get_type, "ldap" )
+ assert_equal( test[0].get_type, 'ldap' )
end
@@ -47,7 +47,7 @@ class TestLDAPProbe < Test::Unit::TestCase
# test data
#
data = [
- "foo.example.com must run ldap on 389.",
+ 'foo.example.com must run ldap on 389.',
"foo.example.com must run ldap with username 'test'.",
"foo.example.com must run ldap with uername 'test' with password 'x'."
]