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-http-vs-https.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-http-vs-https.rb')
-rwxr-xr-x | t/test-http-vs-https.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/test-http-vs-https.rb b/t/test-http-vs-https.rb index 1905b0c..3612e28 100755 --- a/t/test-http-vs-https.rb +++ b/t/test-http-vs-https.rb @@ -46,7 +46,7 @@ class TestTestName < Test::Unit::TestCase end assert(test) - assert(test.kind_of? Array) + assert(test.kind_of?(Array)) assert(!test.empty?) assert_equal(test[0].get_type, 'http') end @@ -63,7 +63,7 @@ class TestTestName < Test::Unit::TestCase end assert(test) - assert(test.kind_of? Array) + assert(test.kind_of?(Array)) assert(!test.empty?) assert_equal(test[0].get_type, 'https') end @@ -94,4 +94,3 @@ class TestTestName < Test::Unit::TestCase end end - |