summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-07 21:12:55 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-11 08:48:03 +0900
commit78ec066347cd5e59957ef6f98d4f40fd00aa667a (patch)
tree85251ef4c445caf5955d259d0bd8be0653d04198
parent48933a34095b7565196c1b78d9644b44cef8f602 (diff)
downloadruby-78ec066347cd5e59957ef6f98d4f40fd00aa667a.tar.gz
Use CoreAssertions instead of Assertions
-rw-r--r--test/ruby/test_module.rb2
-rw-r--r--tool/test/webrick/utils.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index 2d7bdb47fc..59b3df5f04 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -1046,7 +1046,7 @@ class TestModule < Test::Unit::TestCase
def test_attr_obsoleted_flag
c = Class.new do
- extend Test::Unit::Assertions
+ extend Test::Unit::CoreAssertions
def initialize
@foo = :foo
@bar = :bar
diff --git a/tool/test/webrick/utils.rb b/tool/test/webrick/utils.rb
index 56d3a30ea4..85fc2bc641 100644
--- a/tool/test/webrick/utils.rb
+++ b/tool/test/webrick/utils.rb
@@ -36,8 +36,8 @@ module TestWEBrick
RubyBinArray << "-I" << "#{File.dirname(EnvUtil.rubybin)}/.ext/#{RUBY_PLATFORM}"
require "test/unit" unless defined?(Test::Unit)
- include Test::Unit::Assertions
- extend Test::Unit::Assertions
+ include Test::Unit::CoreAssertions
+ extend Test::Unit::CoreAssertions
module_function