diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-18 17:08:26 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-18 17:31:42 +0900 |
commit | 5a0b89de32eba93f254df2ebabe3f02a76ccba0a (patch) | |
tree | 45d713dc0b4df00883a811f69811878d397f3faa | |
parent | 8ab2afb20b000396ef82fb428b9bfdfa0e13d816 (diff) |
Removed minitest/autorun
-rw-r--r-- | tool/lib/minitest/autorun.rb | 14 | ||||
-rw-r--r-- | tool/test/minitest/metametameta.rb | 1 | ||||
-rw-r--r-- | tool/test/minitest/test_minitest_benchmark.rb | 1 | ||||
-rw-r--r-- | tool/test/minitest/test_minitest_mock.rb | 2 |
4 files changed, 1 insertions, 17 deletions
diff --git a/tool/lib/minitest/autorun.rb b/tool/lib/minitest/autorun.rb deleted file mode 100644 index 844096623c..0000000000 --- a/tool/lib/minitest/autorun.rb +++ /dev/null @@ -1,14 +0,0 @@ -# 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 a12717c8b1..dbc422f7e6 100644 --- a/tool/test/minitest/metametameta.rb +++ b/tool/test/minitest/metametameta.rb @@ -3,7 +3,6 @@ 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 a783e684c2..550fb3dc59 100644 --- a/tool/test/minitest/test_minitest_benchmark.rb +++ b/tool/test/minitest/test_minitest_benchmark.rb @@ -1,7 +1,6 @@ # 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 da222c5aa8..fe9a62e62c 100644 --- a/tool/test/minitest/test_minitest_mock.rb +++ b/tool/test/minitest/test_minitest_mock.rb @@ -1,7 +1,7 @@ # encoding: utf-8 # frozen_string_literal: false -require 'minitest/autorun' +require 'minitest/mock' class TestMiniTestMock < MiniTest::Unit::TestCase def setup |