aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r--test/openssl/utils.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index 4ebcb983..e474fcca 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -32,7 +32,12 @@ end
require "test/unit"
require "tempfile"
require "socket"
-require "envutil"
+
+begin
+ require_relative "../lib/core_assertions"
+rescue LoadError
+ # for ruby/ruby repository
+end
if defined?(OpenSSL)
@@ -148,6 +153,7 @@ end
class OpenSSL::TestCase < Test::Unit::TestCase
include OpenSSL::TestUtils
extend OpenSSL::TestUtils
+ include Test::Unit::CoreAssertions
def setup
if ENV["OSSL_GC_STRESS"] == "1"