Skip to content

A platform for community discussion. Free, open, simple.

DEV: Update minitest to 5.19.0 (#22821)

Jarek Radosz3a11c82547b9
diff --git a/Gemfile.lock b/Gemfile.lock
index 64448e9d614..c0874f0c940 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -242,7 +242,7 @@ GEM
mini_sql (1.4.0)
mini_suffix (0.3.3)
ffi (~> 1.9)
- minitest (5.18.1)
+ minitest (5.19.0)
mocha (2.0.4)
ruby2_keywords (>= 0.0.5)
msgpack (1.7.2)
diff --git a/lib/tasks/emoji.rake b/lib/tasks/emoji.rake
index 9216f93fe3a..4a123d18464 100644
--- a/lib/tasks/emoji.rake
+++ b/lib/tasks/emoji.rake
@@ -475,7 +475,7 @@ def confirm_overwrite(path)
STDIN.gets.chomp
end
-class TestEmojiUpdate < MiniTest::Test
+class TestEmojiUpdate < Minitest::Test
def self.run_and_summarize
puts "Runnings tests..."
reporter = Minitest::SummaryReporter.new
diff --git a/spec/support/dom_matcher.rb b/spec/support/dom_matcher.rb
index 4f75540ade2..08a874f6b6f 100644
--- a/spec/support/dom_matcher.rb
+++ b/spec/support/dom_matcher.rb
@@ -5,7 +5,7 @@ RSpec::Matchers.define :be_same_dom do |expected|
match do |actual|
begin
assert_dom_equal(expected, actual)
- rescue MiniTest::Assertion
+ rescue Minitest::Assertion
false
end
end