summaryrefslogtreecommitdiff
path: root/test/open-uri/test_open-uri.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-08 10:30:19 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-08 10:30:19 +0000
commitd6f0bd2b8423807755bae05a388625a8ef6e7e04 (patch)
treea3a9f99b48c420a0fe2e204787f7d2010125718f /test/open-uri/test_open-uri.rb
parent9b9a9249f4042c1311059bcc10e5e8e198446594 (diff)
* lib/open-uri.rb: remove needless condition for old ruby version.
* test/open-uri/test_open-uri.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/open-uri/test_open-uri.rb')
-rw-r--r--test/open-uri/test_open-uri.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index ff7fc33..4073754 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -401,9 +401,7 @@ class TestOpenURI < Test::Unit::TestCase
end
def test_userinfo
- if "1.9.0" <= RUBY_VERSION
- assert_raise(ArgumentError) { open("http://user:pass@127.0.0.1/") {} }
- end
+ assert_raise(ArgumentError) { open("http://user:pass@127.0.0.1/") {} }
end
def test_progress