summaryrefslogtreecommitdiff
path: root/t/test-custodian-alertfactory.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:10:32 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:10:32 +0000
commit1ce0906b3480702085d4596dbb4758c115ab298f (patch)
tree695cd365c2ff73904328a049f3b9cfcc5a0a1abd /t/test-custodian-alertfactory.rb
parent891b720013f06f092f6be82adad95e5551c696b6 (diff)
Don't use parenthesis aroudn conditions in an if.
Diffstat (limited to 't/test-custodian-alertfactory.rb')
-rwxr-xr-xt/test-custodian-alertfactory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-alertfactory.rb b/t/test-custodian-alertfactory.rb
index e12dbdd..42873ec 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|