summaryrefslogtreecommitdiff
path: root/t/test-custodian-testfactory.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:21:36 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:21:36 +0000
commit0c2d64d6daf9a9a901a3b67730680e3e97c60f8d (patch)
tree623a1932c32dcf6cbac9254334690db82ac3816e /t/test-custodian-testfactory.rb
parent6d95fd2e13f23037bbae89b5627caf53aa346e73 (diff)
Whitespace fixups.
These were all identified and suggested by rubocop.
Diffstat (limited to 't/test-custodian-testfactory.rb')
-rwxr-xr-xt/test-custodian-testfactory.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb
index bde76f2..c50ad56 100755
--- a/t/test-custodian-testfactory.rb
+++ b/t/test-custodian-testfactory.rb
@@ -75,7 +75,7 @@ class TestTestFactory < Test::Unit::TestCase
obj = Custodian::TestFactory.create(str)
assert(obj.kind_of? Array)
- assert(! obj.empty?)
+ assert(!obj.empty?)
assert_equal(obj[0].get_type, 'ftp')
assert_equal(obj[0].port.to_s, prt)
@@ -108,7 +108,7 @@ class TestTestFactory < Test::Unit::TestCase
assert(obj)
assert(obj.kind_of? Array)
- assert(! obj.empty?)
+ assert(!obj.empty?)
assert(obj[0].port.to_s == prt , "'#{str}' gave expected port '#{prt}'.")
end
end
@@ -155,7 +155,7 @@ class TestTestFactory < Test::Unit::TestCase
obj = Custodian::TestFactory.create(str)
assert(obj.kind_of? Array)
- assert(! obj.empty?)
+ assert(!obj.empty?)
assert(obj[0].port.to_s == prt , "'#{str}' gave expected port '#{prt}'.")
end
end
@@ -231,7 +231,7 @@ class TestTestFactory < Test::Unit::TestCase
obj = Custodian::TestFactory.create(str)
assert(obj.kind_of? Array)
- assert(! obj.empty?)
+ assert(!obj.empty?)
#
# Ensure we got the object, and the port was correct.
@@ -305,7 +305,7 @@ class TestTestFactory < Test::Unit::TestCase
obj = Custodian::TestFactory.create(entry)
assert(obj)
assert(obj.kind_of? Array)
- assert(! obj.empty?)
+ assert(!obj.empty?)
assert_equal('test.host.example.com', obj[0].target)
end
end