diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:10:32 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:10:32 +0000 |
commit | fea454753efc4a673751131960c394254555d34a (patch) | |
tree | 47732a1c331c236f8f082dc4f6f5a6c6d6dab058 /t/test-custodian-parser.rb | |
parent | edf0e675123e4869e2739d1bab0ed57b3b9f664c (diff) |
Don't use parenthesis aroudn conditions in an if.
Diffstat (limited to 't/test-custodian-parser.rb')
-rwxr-xr-x | t/test-custodian-parser.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/test-custodian-parser.rb b/t/test-custodian-parser.rb index 43a0754..bd5205b 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 ) |