ruby-changes:66326
From: Hiroshi <ko1@a...>
Date: Fri, 28 May 2021 11:39:05 +0900 (JST)
Subject: [ruby-changes:66326] ded7dd9ccc (master): Use require_relative to use Minitest library for testing.
https://git.ruby-lang.org/ruby.git/commit/?id=ded7dd9ccc From ded7dd9ccc6d084c5e65689ddcbcd27df703e58e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 28 May 2021 11:37:35 +0900 Subject: Use require_relative to use Minitest library for testing. There is no reason to care for minitest gem. --- tool/lib/test/unit.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index f4ee194..7862f09 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -1,9 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit.rb#L1 # frozen_string_literal: true -begin - gem 'minitest', '< 5.0.0' if defined? Gem -rescue Gem::LoadError -end -require 'minitest/unit' + +require_relative '../minitest/unit' require 'test/unit/assertions' require_relative '../envutil' require_relative '../colorize' -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/