summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:45 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:45 +0000
commit4cfe64841e7eb91a314f6e03026e5ffdcd8dcbdf (patch)
treecbb2484048ce5f08052c4d2bf097534588629e54 /t
parent0220b5dfebf2bc91a2fe69068179dd436f577a1d (diff)
Omit the parentheses in defs when the method doesn't accept any arguments.
This is neater.
Diffstat (limited to 't')
-rwxr-xr-xt/test-custodian-util-timespan.rb2
-rwxr-xr-xt/test-ldap-probe.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-util-timespan.rb b/t/test-custodian-util-timespan.rb
index 881f5a5..ef05fe7 100755
--- a/t/test-custodian-util-timespan.rb
+++ b/t/test-custodian-util-timespan.rb
@@ -200,7 +200,7 @@ class TestTimeSpanUtil < Test::Unit::TestCase
# period is the worst case.
#
#
- def test_worst()
+ def test_worst
for i in 0..23
assert( Custodian::Util::TimeSpan.inside?( 0, 23, i ) )
end
diff --git a/t/test-ldap-probe.rb b/t/test-ldap-probe.rb
index 9d6b6f0..5273b31 100755
--- a/t/test-ldap-probe.rb
+++ b/t/test-ldap-probe.rb
@@ -42,7 +42,7 @@ class TestLDAPProbe < Test::Unit::TestCase
#
# Ensure missing a test raises an error.
#
- def test_missing_ldap()
+ def test_missing_ldap
#
# test data
#