summaryrefslogtreecommitdiff
path: root/test/openssl/test_cipher.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-11 01:25:25 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-11 01:25:25 +0000
commite1e671d60dd5015993220b64593e0ee3f87addae (patch)
tree41bc69c8ce20c5bd322ba3efe8f3d717b3fb5b83 /test/openssl/test_cipher.rb
parent864f60b8375eb0446ea1184f314d3bcac6fb7b87 (diff)
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/openssl/test_cipher.rb')
-rw-r--r--test/openssl/test_cipher.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
index cc21e818ed..5cf41879bd 100644
--- a/test/openssl/test_cipher.rb
+++ b/test/openssl/test_cipher.rb
@@ -1,8 +1,4 @@
-begin
- require "openssl"
-rescue LoadError
-end
-require "test/unit"
+require_relative 'utils'
if defined?(OpenSSL)