diff options
author | Hiroshi SHIBATA <[email protected]> | 2021-05-10 17:32:29 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-05-10 18:53:33 +0900 |
commit | ce67549c503a5f31505fb292c11e40337dcba336 (patch) | |
tree | 14ddfa1d6e8ded7dbc887dc2c0f46d17e92f6bbc /test/psych/helper.rb | |
parent | ce5779d8cc30f28031c8d0f42836f8afae75c40b (diff) |
[ruby/psych] Use test-unit instead of minitest
https://github.com/ruby/psych/commit/01e7310dd3
Diffstat (limited to 'test/psych/helper.rb')
-rw-r--r-- | test/psych/helper.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/psych/helper.rb b/test/psych/helper.rb index 9348457958..b118b31c46 100644 --- a/test/psych/helper.rb +++ b/test/psych/helper.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -require 'minitest/autorun' +require 'test/unit' require 'stringio' require 'tempfile' require 'date' @@ -7,13 +7,7 @@ require 'date' require 'psych' module Psych - superclass = if defined?(Minitest::Test) - Minitest::Test - else - MiniTest::Unit::TestCase - end - - class TestCase < superclass + class TestCase < Test::Unit::TestCase def self.suppress_warning verbose, $VERBOSE = $VERBOSE, nil yield |