[前][次][番号順一覧][スレッド一覧]

ruby-changes:42982

From: nobu <ko1@a...>
Date: Wed, 18 May 2016 16:24:08 +0900 (JST)
Subject: [ruby-changes:42982] nobu:r55056 (trunk): openssl/test_random.rb: requires utils.rb

nobu	2016-05-18 16:24:02 +0900 (Wed, 18 May 2016)

  New Revision: 55056

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55056

  Log:
    openssl/test_random.rb: requires utils.rb
    
    * test/openssl/test_random.rb: requires test/openssl/utils.rb for
      OpenSSL::TestCase now.

  Modified files:
    trunk/test/openssl/test_random.rb
Index: test/openssl/test_random.rb
===================================================================
--- test/openssl/test_random.rb	(revision 55055)
+++ test/openssl/test_random.rb	(revision 55056)
@@ -1,8 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/openssl/test_random.rb#L1
 # frozen_string_literal: false
-begin
-  require "openssl"
-rescue LoadError
-end
+require_relative "utils"
 
 class OpenSSL::TestRandom < OpenSSL::TestCase
   def test_random_bytes

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]