diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-12-09 19:11:18 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-12-09 19:17:32 +0900 |
commit | 4b36832ba64a8879a4b0702d6d5079ddd9d3078e (patch) | |
tree | 932e89a9e018ea28bcf1c1629b3b2812b3fd8dea | |
parent | ff7cc0dc34832a074ce42e383439b87ea63b42f7 (diff) | |
download | ruby-4b36832ba64a8879a4b0702d6d5079ddd9d3078e.tar.gz |
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
-rw-r--r-- | lib/logger/logger.gemspec | 3 | ||||
-rw-r--r-- | test/logger/helper.rb | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/logger/logger.gemspec b/lib/logger/logger.gemspec index 598c87531d..8b3f70627a 100644 --- a/lib/logger/logger.gemspec +++ b/lib/logger/logger.gemspec @@ -24,5 +24,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", ">= 0" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest", "~> 5.0" + spec.add_development_dependency "test-unit" + spec.add_development_dependency "rdoc" end 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 |