Skip to content

Commit 01e7310

Browse files
committed
Use test-unit instead of minitest
1 parent 051d8b6 commit 01e7310

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ gemspec
44

55
group :development do
66
gem 'rake-compiler', ">= 0.4.1"
7-
gem 'minitest', "~> 5.0"
7+
gem 'test-unit'
88
gem 'ruby-maven', :platforms => :jruby
99
end

test/psych/helper.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
# frozen_string_literal: true
2-
require 'minitest/autorun'
2+
require 'test/unit'
33
require 'stringio'
44
require 'tempfile'
55
require 'date'
66

77
require 'psych'
88

99
module Psych
10-
superclass = if defined?(Minitest::Test)
11-
Minitest::Test
12-
else
13-
MiniTest::Unit::TestCase
14-
end
15-
16-
class TestCase < superclass
10+
class TestCase < Test::Unit::TestCase
1711
def self.suppress_warning
1812
verbose, $VERBOSE = $VERBOSE, nil
1913
yield

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy