diff options
-rw-r--r-- | test/ruby/test_module.rb | 2 | ||||
-rw-r--r-- | tool/test/webrick/utils.rb | 4 |
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 |