diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:22:46 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:22:46 +0000 |
commit | ddedddfa53dfe296eb8f0c58e1b9ff86f8301d4d (patch) | |
tree | 24c39cd8770762e37f96886f0894ba4616ab5ccb /t | |
parent | d07ac8ecbedb4831e5aa677b8878f0e8eb37e363 (diff) |
More minor space fixups
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-parser.rb | 6 | ||||
-rwxr-xr-x | t/test-custodian-testfactory.rb | 8 | ||||
-rwxr-xr-x | t/test-custodian-util-bytemark.rb | 2 | ||||
-rwxr-xr-x | t/test-custodian-util-timespan.rb | 4 | ||||
-rwxr-xr-x | t/test-suite | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb index 6d612b1..1af5e28 100755 --- a/t/test-custodian-parser.rb +++ b/t/test-custodian-parser.rb @@ -292,7 +292,7 @@ EOF 'http://example must run http not following redirect.' => false, } - data.each do |str,follow| + data.each do |str, follow| assert_nothing_raised do # @@ -331,7 +331,7 @@ EOF 'http://example must run http without cache busting.' => false, } - data.each do |str,cb| + data.each do |str, cb| assert_nothing_raised do # @@ -377,7 +377,7 @@ EOF # # For each test # - data.each do |str,fail| + data.each do |str, fail| assert_nothing_raised do # diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index c50ad56..db25462 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -69,7 +69,7 @@ class TestTestFactory < Test::Unit::TestCase # # Run each test # - data.each do |str,prt| + data.each do |str, prt| assert_nothing_raised do obj = Custodian::TestFactory.create(str) @@ -101,7 +101,7 @@ class TestTestFactory < Test::Unit::TestCase # # Run each test # - data.each do |str,prt| + data.each do |str, prt| assert_nothing_raised do obj = Custodian::TestFactory.create(str) @@ -149,7 +149,7 @@ class TestTestFactory < Test::Unit::TestCase # # Run each test # - data.each do |str,prt| + data.each do |str, prt| assert_nothing_raised do obj = Custodian::TestFactory.create(str) @@ -225,7 +225,7 @@ class TestTestFactory < Test::Unit::TestCase # # Run each test # - data.each do |str,inv| + data.each do |str, inv| assert_nothing_raised do obj = Custodian::TestFactory.create(str) diff --git a/t/test-custodian-util-bytemark.rb b/t/test-custodian-util-bytemark.rb index 3b17f4f..3342569 100755 --- a/t/test-custodian-util-bytemark.rb +++ b/t/test-custodian-util-bytemark.rb @@ -50,7 +50,7 @@ class TestBytemarkUtil < Test::Unit::TestCase } - to_test.each do |name,inside| + to_test.each do |name, inside| if inside assert(Custodian::Util::Bytemark.inside?(name) == true) diff --git a/t/test-custodian-util-timespan.rb b/t/test-custodian-util-timespan.rb index 72428be..3ac37a6 100755 --- a/t/test-custodian-util-timespan.rb +++ b/t/test-custodian-util-timespan.rb @@ -215,14 +215,14 @@ class TestTimeSpanUtil < Test::Unit::TestCase def test_wrap_around for h in 00..23 - assert_equal(1, Custodian::Util::TimeSpan.to_hours(h,h).size) + assert_equal(1, Custodian::Util::TimeSpan.to_hours(h, h).size) end # # But the time-period 00-23 is a full day # assert_equal(24, - Custodian::Util::TimeSpan.to_hours(0,23).size) + Custodian::Util::TimeSpan.to_hours(0, 23).size) end diff --git a/t/test-suite b/t/test-suite index 26ddb1f..0d3589a 100755 --- a/t/test-suite +++ b/t/test-suite @@ -27,7 +27,7 @@ dir = File.dirname(__FILE__) # # Load each file in the same directory. # -Dir.glob(File.join(dir,'t*.rb')).each do |test| +Dir.glob(File.join(dir, 't*.rb')).each do |test| require test end |