summaryrefslogtreecommitdiff
path: root/t/test-custodian-util-timespan.rb
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
commit7bde57ae8fce8ce55a44cc31727bfc08f2369fe9 (patch)
tree8301bdccddd2af69b9ce7c633cefa3c6d00424fb /t/test-custodian-util-timespan.rb
parent35c41ad2b34de38a4cfac11911bf6de09f60e419 (diff)
Omit the parentheses in defs when the method doesn't accept any arguments.
This is neater.
Diffstat (limited to 't/test-custodian-util-timespan.rb')
-rwxr-xr-xt/test-custodian-util-timespan.rb2
1 files changed, 1 insertions, 1 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