summaryrefslogtreecommitdiff
path: root/test/uri/test_ftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri/test_ftp.rb')
-rw-r--r--test/uri/test_ftp.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/uri/test_ftp.rb b/test/uri/test_ftp.rb
index 0eec984db8..f45bb0667c 100644
--- a/test/uri/test_ftp.rb
+++ b/test/uri/test_ftp.rb
@@ -2,10 +2,7 @@
require 'test/unit'
require 'uri/ftp'
-module URI
-
-
-class TestFTP < Test::Unit::TestCase
+class URI::TestFTP < Test::Unit::TestCase
def setup
end
@@ -29,7 +26,7 @@ class TestFTP < Test::Unit::TestCase
end
def test_parse_invalid
- assert_raise(InvalidURIError){URI.parse('ftp:example')}
+ assert_raise(URI::InvalidURIError) {URI.parse('ftp:example')}
end
def test_paths
@@ -62,6 +59,3 @@ class TestFTP < Test::Unit::TestCase
end
end
end
-
-
-end