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-queue.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-queue.rb')
-rwxr-xr-x | t/test-custodian-queue.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/test-custodian-queue.rb b/t/test-custodian-queue.rb index c25fc24..626eb8b 100755 --- a/t/test-custodian-queue.rb +++ b/t/test-custodian-queue.rb @@ -21,9 +21,9 @@ class TestCustodianQueue < Test::Unit::TestCase def setup unless defined? ::Redis if methods.include? :skip - skip("Redis library missing -- skipping tests") + skip('Redis library missing -- skipping tests') else - omit("Redis library missing -- skipping tests") + omit('Redis library missing -- skipping tests') end end end @@ -45,7 +45,7 @@ class TestCustodianQueue < Test::Unit::TestCase q = nil assert_nothing_raised do - q = Custodian::RedisQueueType.new() + q = Custodian::RedisQueueType.new end # |