aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_random.rb
diff options
context:
space:
mode:
authornobu <nobu@ruby-lang.org>2016-05-18 07:24:02 +0000
committerKazuki Yamaguchi <k@rhe.jp>2016-05-31 11:31:27 +0900
commit43d7bd9973cc54cb88b493950f1696fe92d26d76 (patch)
tree651a5f87454d2a8ad14474ea4d3d1fbf8761a903 /test/test_random.rb
parentb98df238af74d2ea60b64abacba5bd0d4b125d96 (diff)
downloadruby-openssl-43d7bd9973cc54cb88b493950f1696fe92d26d76.tar.gz
openssl/test_random.rb: requires utils.rb
* test/openssl/test_random.rb: requires test/openssl/utils.rb for OpenSSL::TestCase now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_random.rb')
-rw-r--r--test/test_random.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test_random.rb b/test/test_random.rb
index defa09dd..e0c19cd3 100644
--- a/test/test_random.rb
+++ b/test/test_random.rb
@@ -1,8 +1,5 @@
# frozen_string_literal: false
-begin
- require "openssl"
-rescue LoadError
-end
+require_relative "utils"
class OpenSSL::TestRandom < OpenSSL::TestCase
def test_random_bytes