ruby-changes:66258
From: Hiroshi <ko1@a...>
Date: Tue, 18 May 2021 17:37:10 +0900 (JST)
Subject: [ruby-changes:66258] 5a0b89de32 (master): Removed minitest/autorun
https://git.ruby-lang.org/ruby.git/commit/?id=5a0b89de32 From 5a0b89de32eba93f254df2ebabe3f02a76ccba0a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 18 May 2021 17:08:26 +0900 Subject: Removed minitest/autorun --- tool/lib/minitest/autorun.rb | 14 -------------- tool/test/minitest/metametameta.rb | 1 - tool/test/minitest/test_minitest_benchmark.rb | 1 - tool/test/minitest/test_minitest_mock.rb | 2 +- 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 tool/lib/minitest/autorun.rb diff --git a/tool/lib/minitest/autorun.rb b/tool/lib/minitest/autorun.rb deleted file mode 100644 index 8440966..0000000 --- a/tool/lib/minitest/autorun.rb +++ /dev/null @@ -1,14 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/#L0 -# encoding: utf-8 -# frozen_string_literal: true - -begin - require 'rubygems' - gem 'minitest' -rescue Gem::LoadError - # do nothing -end - -require 'minitest/unit' -require 'minitest/mock' - -MiniTest::Unit.autorun diff --git a/tool/test/minitest/metametameta.rb b/tool/test/minitest/metametameta.rb index a12717c..dbc422f 100644 --- a/tool/test/minitest/metametameta.rb +++ b/tool/test/minitest/metametameta.rb @@ -3,7 +3,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/test/minitest/metametameta.rb#L3 require 'tempfile' require 'stringio' -require 'minitest/autorun' class MiniTest::Unit::TestCase def clean s diff --git a/tool/test/minitest/test_minitest_benchmark.rb b/tool/test/minitest/test_minitest_benchmark.rb index a783e68..550fb3d 100644 --- a/tool/test/minitest/test_minitest_benchmark.rb +++ b/tool/test/minitest/test_minitest_benchmark.rb @@ -1,7 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/test/minitest/test_minitest_benchmark.rb#L1 # encoding: utf-8 # frozen_string_literal: false -require 'minitest/autorun' require 'minitest/benchmark' ## diff --git a/tool/test/minitest/test_minitest_mock.rb b/tool/test/minitest/test_minitest_mock.rb index da222c5a..fe9a62e 100644 --- a/tool/test/minitest/test_minitest_mock.rb +++ b/tool/test/minitest/test_minitest_mock.rb @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/test/minitest/test_minitest_mock.rb#L1 # encoding: utf-8 # frozen_string_literal: false -require 'minitest/autorun' +require 'minitest/mock' class TestMiniTestMock < MiniTest::Unit::TestCase def setup -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/