summaryrefslogtreecommitdiff
path: root/t/test-custodian-util-bytemark.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 22:05:25 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 22:05:25 +0300
commit9366c1eda2967d6931efd6e73134dc79fb8a5cd2 (patch)
tree3498a027feacef099a824d91e6fb4c51e46a5ddf /t/test-custodian-util-bytemark.rb
parenta5ad0029b634a19d4d50e9f49c51903c2fa82208 (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-util-bytemark.rb')
-rwxr-xr-xt/test-custodian-util-bytemark.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-util-bytemark.rb b/t/test-custodian-util-bytemark.rb
index 9bd775a..47fce9b 100755
--- a/t/test-custodian-util-bytemark.rb
+++ b/t/test-custodian-util-bytemark.rb
@@ -46,13 +46,13 @@ class TestBytemarkUtil < Test::Unit::TestCase
#
'127.0.0.1' => false,
'192.168.1.1' => false,
- '2a00:1450:400c:c00::93' => false,
+ '2a00:1450:400c:c00::93' => false
}
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)