diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 14:43:10 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 14:43:10 +0000 |
commit | 69acb34d89e05637f04531f4ba8903f1dd887383 (patch) | |
tree | 023a3777576237d3b89b7554c00ee2ae1142b0a9 /t | |
parent | ff910ae9491d81085e25d289f61cec72e96e57ef (diff) |
Removed trailing whitespace from the code
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-alertfactory.rb | 4 | ||||
-rwxr-xr-x | t/test-custodian-parser.rb | 6 | ||||
-rwxr-xr-x | t/test-custodian-testfactory.rb | 4 | ||||
-rwxr-xr-x | t/test-custodian-util-bytemark.rb | 2 | ||||
-rwxr-xr-x | t/test-suite | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/t/test-custodian-alertfactory.rb b/t/test-custodian-alertfactory.rb index c18e719..3138fa6 100755 --- a/t/test-custodian-alertfactory.rb +++ b/t/test-custodian-alertfactory.rb @@ -54,8 +54,8 @@ class TestAlertFactory < Test::Unit::TestCase mauve = false end - methods.push('redis') if redis - methods.push('mauve') if mauve + methods.push('redis') if redis + methods.push('mauve') if mauve methods.each do |name| diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb index 1af5e28..aff1e9c 100755 --- a/t/test-custodian-parser.rb +++ b/t/test-custodian-parser.rb @@ -305,7 +305,7 @@ EOF assert(obj.size == 1) assert_equal(obj[0].to_s, str) - if follow + if follow assert(obj[0].follow_redirects?) else assert(!obj[0].follow_redirects?) @@ -344,7 +344,7 @@ EOF assert(obj.size == 1) assert_equal(obj[0].to_s, str) - if cb + if cb assert(obj[0].cache_busting?) else assert(!obj[0].cache_busting?) @@ -390,7 +390,7 @@ EOF assert(obj.size == 1) assert_equal(obj[0].to_s, str) - if fail.nil? + if fail.nil? assert(obj[0].get_notification_text.nil?) else assert_equal(obj[0].get_notification_text, fail) diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index 83585db..f36a821 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -255,13 +255,13 @@ class TestTestFactory < Test::Unit::TestCase # for each handler .. registered[type].each do |name| - if name.to_s =~ /protocoltest::(.*)Test$/i + if name.to_s =~ /protocoltest::(.*)Test$/i tst = $1.dup.downcase # # NOTE: Skip the DNS and LDAP tests - they are more complex. # - next if tst =~ /^(ldap|dns|dnsbl|sslcertificate)$/ + next if tst =~ /^(ldap|dns|dnsbl|sslcertificate)$/ # normal test_one = "http://foo.com/.com must run #{tst} on 1234" diff --git a/t/test-custodian-util-bytemark.rb b/t/test-custodian-util-bytemark.rb index 3342569..9bd775a 100755 --- a/t/test-custodian-util-bytemark.rb +++ b/t/test-custodian-util-bytemark.rb @@ -52,7 +52,7 @@ class TestBytemarkUtil < Test::Unit::TestCase to_test.each do |name, inside| - if inside + if inside assert(Custodian::Util::Bytemark.inside?(name) == true) else assert(Custodian::Util::Bytemark.inside?(name) == false) diff --git a/t/test-suite b/t/test-suite index 0d3589a..1d01654 100755 --- a/t/test-suite +++ b/t/test-suite @@ -3,7 +3,7 @@ # This is a simple wrapper that will run the complete test-suite. # # Steve -# -- +# -- # # |