diff options
author | Steve Kemp <steve@steve.org.uk> | 2016-04-22 22:05:25 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2016-04-22 22:05:25 +0300 |
commit | 9366c1eda2967d6931efd6e73134dc79fb8a5cd2 (patch) | |
tree | 3498a027feacef099a824d91e6fb4c51e46a5ddf /t/test-custodian-alertfactory.rb | |
parent | a5ad0029b634a19d4d50e9f49c51903c2fa82208 (diff) |
Updated to fix the last remaining rubocop warnings.
This involved silencing a few issues that were judged to be minor,
and changing various whitespaces and function-calls. The most
obvious example was changing this:
assert(ret.kind_of? Array)
To this:
assert(ret.kind_of?(Array))
Diffstat (limited to 't/test-custodian-alertfactory.rb')
-rwxr-xr-x | t/test-custodian-alertfactory.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/test-custodian-alertfactory.rb b/t/test-custodian-alertfactory.rb index 3138fa6..cceec2b 100755 --- a/t/test-custodian-alertfactory.rb +++ b/t/test-custodian-alertfactory.rb @@ -75,8 +75,8 @@ class TestAlertFactory < Test::Unit::TestCase # Ensure that the object implements the raise() + clear() # methods we mandate. # - assert(obj.respond_to? 'raise') - assert(obj.respond_to? 'clear') + assert(obj.respond_to?('raise')) + assert(obj.respond_to?('clear')) end @@ -100,4 +100,3 @@ class TestAlertFactory < Test::Unit::TestCase end end - |