summaryrefslogtreecommitdiff
path: root/t/test-custodian-testfactory.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test-custodian-testfactory.rb')
-rwxr-xr-xt/test-custodian-testfactory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb
index aef71c6..6a115ce 100755
--- a/t/test-custodian-testfactory.rb
+++ b/t/test-custodian-testfactory.rb
@@ -32,7 +32,7 @@ class TestTestFactory < Test::Unit::TestCase
end
assert_raise ArgumentError do
- obj = Custodian::TestFactory.create( Array.new, nil )
+ obj = Custodian::TestFactory.create( [], nil )
end
@@ -290,7 +290,7 @@ class TestTestFactory < Test::Unit::TestCase
def test_target_detection
- a = Array.new()
+ a = []
a.push( "test.host.example.com must run ftp.")
a.push( "ftp://test.host.example.com/ must run ftp.")