summaryrefslogtreecommitdiff
path: root/t/test-http-vs-https.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
commit54b21cf54c51dfe40784a8096f84c7a80b015bd4 (patch)
tree4763692624732650daf1a9e02c91576d3f7ee8d0 /t/test-http-vs-https.rb
parenta22b8e96ead33b0f97ed5243dbad7f7b6cd5135d (diff)
Removed spaces inside parenthesis.
Diffstat (limited to 't/test-http-vs-https.rb')
-rwxr-xr-xt/test-http-vs-https.rb28
1 files changed, 14 insertions, 14 deletions
diff --git a/t/test-http-vs-https.rb b/t/test-http-vs-https.rb
index ab44ffc..8843683 100755
--- a/t/test-http-vs-https.rb
+++ b/t/test-http-vs-https.rb
@@ -42,13 +42,13 @@ class TestTestName < Test::Unit::TestCase
test = nil
assert_nothing_raised do
- test = Custodian::TestFactory.create( 'http://example.com/ must run http.' )
+ test = Custodian::TestFactory.create('http://example.com/ must run http.')
end
- assert( test )
- assert( test.kind_of? Array )
- assert( ! test.empty? )
- assert_equal( test[0].get_type, 'http' )
+ assert(test)
+ assert(test.kind_of? Array)
+ assert(! test.empty?)
+ assert_equal(test[0].get_type, 'http')
end
@@ -59,13 +59,13 @@ class TestTestName < Test::Unit::TestCase
test = nil
assert_nothing_raised do
- test = Custodian::TestFactory.create( 'https://example.com/ must run https.' )
+ test = Custodian::TestFactory.create('https://example.com/ must run https.')
end
- assert( test )
- assert( test.kind_of? Array )
- assert( ! test.empty? )
- assert_equal( test[0].get_type, 'https' )
+ assert(test)
+ assert(test.kind_of? Array)
+ assert(! test.empty?)
+ assert_equal(test[0].get_type, 'https')
end
@@ -76,19 +76,19 @@ class TestTestName < Test::Unit::TestCase
assert_raise ArgumentError do
- Custodian::TestFactory.create( 'https://example.com/ must run http.' )
+ Custodian::TestFactory.create('https://example.com/ must run http.')
end
assert_raise ArgumentError do
- Custodian::TestFactory.create( 'http://example.com/ must run https.' )
+ Custodian::TestFactory.create('http://example.com/ must run https.')
end
assert_nothing_raised do
- Custodian::TestFactory.create( 'http://example.com/ must run http.' )
+ Custodian::TestFactory.create('http://example.com/ must run http.')
end
assert_nothing_raised do
- Custodian::TestFactory.create( 'https://example.com/ must run https.' )
+ Custodian::TestFactory.create('https://example.com/ must run https.')
end
end