From 7bde57ae8fce8ce55a44cc31727bfc08f2369fe9 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:04:45 +0000 Subject: Omit the parentheses in defs when the method doesn't accept any arguments. This is neater. --- t/test-custodian-util-timespan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/test-custodian-util-timespan.rb') 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 -- cgit v1.2.1