summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-09 19:11:18 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-09 19:17:32 +0900
commit4b36832ba64a8879a4b0702d6d5079ddd9d3078e (patch)
tree932e89a9e018ea28bcf1c1629b3b2812b3fd8dea /test
parentff7cc0dc34832a074ce42e383439b87ea63b42f7 (diff)
Merge the upstream changes for test-unit on ruby/logger.
This commits are based with: https://github.com/ruby/logger/commit/f067f7d1aa743b467d633ec6d1790bd93ed9e25b https://github.com/ruby/logger/commit/86058f420d8f6909500cccceb24f58bef0597b4d https://github.com/ruby/logger/commit/02db6e8ed85d1f4ba974f08fee292bad400d9fc2
Diffstat (limited to 'test')
-rw-r--r--test/logger/helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/logger/helper.rb b/test/logger/helper.rb
index d29332104b..f11720bf5a 100644
--- a/test/logger/helper.rb
+++ b/test/logger/helper.rb
@@ -3,3 +3,6 @@ $LOAD_PATH.unshift File.join(ROOT_DIR, 'lib') # to use logger in this repo inste
$LOAD_PATH.unshift File.join(ROOT_DIR, 'test', 'lib') # to use custom test-unit in this repo
require 'logger'
require 'test/unit'
+require 'core_assertions'
+
+Test::Unit::TestCase.include Test::Unit::CoreAssertions