summaryrefslogtreecommitdiff
path: root/tool/test
diff options
authorHiroshi SHIBATA <[email protected]>2021-09-10 20:41:52 +0900
committerHiroshi SHIBATA <[email protected]>2021-09-11 08:48:03 +0900
commit151a1cd45eb28982083d0c2c99ed8c564c18a0af (patch)
tree701212d0b1eaf0103413850352d6f9d749467a6c /tool/test
parentd7f0b41c7ba75639503d562cf7f5e26c3157c676 (diff)
Fixed inconsistent require order for assertions and core_assertions
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4813
Diffstat (limited to 'tool/test')
-rw-r--r--tool/test/webrick/utils.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/test/webrick/utils.rb b/tool/test/webrick/utils.rb
index 85fc2bc641..a8568d0a43 100644
--- a/tool/test/webrick/utils.rb
+++ b/tool/test/webrick/utils.rb
@@ -36,6 +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