summaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@ruby-lang.org>2010-12-11 01:25:25 +0000
committertenderlove <tenderlove@ruby-lang.org>2010-12-11 01:25:25 +0000
commit627ae8f5d10b0cbc9a27370ad71ac89bb7eb96a4 (patch)
tree61d223f6eb0954cdc754eaee17f85e8d61a0cf47 /test/test_pair.rb
parent0fc048043399489e07130698fe52ce5c6577c122 (diff)
downloadruby-openssl-history-627ae8f5d10b0cbc9a27370ad71ac89bb7eb96a4.tar.gz
refactor load error rescue to the openssl util file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pair.rb')
-rw-r--r--test/test_pair.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb
index 2d76138..d31781f 100644
--- a/test/test_pair.rb
+++ b/test/test_pair.rb
@@ -1,8 +1,4 @@
-begin
- require "openssl"
-rescue LoadError
-end
-require 'test/unit'
+require_relative 'utils'
if defined?(OpenSSL)