summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 19:05:39 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 19:05:39 +0000
commite963ff1e987430e4979c9a62ccb639cc977e0689 (patch)
treef88fb0ad0d4317600ab5d293706ce02fe95617e2 /test/net
parent9f34b73009e9454e885378483d503b9466bac231 (diff)
* test/net/http/test_https.rb: should rescue LoadError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_https.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 133e957..adb50c5 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -1,12 +1,12 @@
require "test/unit"
begin
require 'net/https'
+ require 'stringio'
+ require File.expand_path("../../openssl/utils", File.dirname(__FILE__))
+ require File.expand_path("utils", File.dirname(__FILE__))
rescue LoadError
# should skip this test
end
-require 'stringio'
-require File.expand_path("utils", File.dirname(__FILE__))
-require File.expand_path("../../openssl/utils", File.dirname(__FILE__))
class TestNetHTTPS < Test::Unit::TestCase
include TestNetHTTPUtils