Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2025

Bumps minitest from 5.25.5 to 5.27.0.

Changelog

Sourced from minitest's changelog.

=== 5.27.0 / 2025-12-11

  • 1 major enhancement:

    • Adding post install message announcing the EOL for minitest 5!
  • 2 minor enhancements:

    • Removed TestTask::Work#initialize since Queue can now initialize with an Enumerable! AMAZING!
    • Use Kernel#warn uplevel argument for nicer warnings. (byroot)
  • 5 bug fixes:

    • Cleaned up option aliasing a tad.
    • Removed obsolete conditional for prerecord
    • Removed obsolete guards around Warning.
    • Removed obsolete version guards for pattern matching assertions.
    • Switched all internal requires to require_relative.

=== 5.26.2 / 2025-11-17

  • 5 bug fixes:

    • Bumped minimum ruby to 3.1.
    • Alias Spec#name to #inspect for cleaner output in repls.
    • Fix pathing for Hoe::Minitest initialization to be more generic.
    • Fixed refute_in_epsilon to use min of abs values. (wtn)
    • Improved options processing and usage output to be more clear.

=== 5.26.1 / 2025-11-08

The Ocean Shores, Slightly Less Tipsy Edition!

  • 3 bug fixes:

    • Add links to API doco in README.
    • Add missing require thread.
    • Bumped ruby version to include 4.0 (trunk). (hsbt) (see also 5.14.2)

=== 5.26.0 / 2025-10-07

The Seattle.rb Nerd Party, Slightly Tipsy Edition!

  • 2 minor enhancements:

    • Added extra documentation to Minitest::TestTask options.
    • Make parallelize_me! a no-op when n_threads=1.
  • 9 bug fixes:

... (truncated)

Commits
  • 819e9b5 Branching minitest to version 5.27.0
  • e9a9fc3 ! Adding post install message announcing the EOL for minitest 5.
  • 4525c88 REVERTED: Removed obsolete conditional for prerecord. For now... Wait for MT6.
  • 6b3fb6c - Removed obsolete guards around Warning.
  • 72b90c3 - Removed obsolete version guards for pattern matching assertions.
  • a8143f2 - Removed obsolete conditional for prerecord
  • f6fffa1 + Use Kernel#warn uplevel argument for nicer warnings. (byroot)
  • a0e9289 Fixed reporter test shape variation warning. (havenwood)
  • 15394fc + Removed TestTask::Work#initialize since Queue can now initialize with an En...
  • 8a4d7ee - Switched all internal requires to require_relative.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [minitest](https://github.com/minitest/minitest) from 5.25.5 to 5.27.0.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](minitest/minitest@v5.25.5...v5.27.0)

---
updated-dependencies:
- dependency-name: minitest
  dependency-version: 5.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 12, 2025
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

gem compare minitest 5.25.5 5.27.0

Compared versions: ["5.25.5", "5.27.0"]
  DIFFERENT date:
    5.25.5: 2025-03-12 00:00:00 UTC
    5.27.0: 1980-01-02 00:00:00 UTC
  DIFFERENT homepage:
    5.25.5: https://github.com/minitest/minitest
    5.27.0: https://minite.st/
  DIFFERENT metadata:
    5.25.5: {"homepage_uri" => "https://github.com/minitest/minitest", "bug_tracker_uri" => "https://github.com/minitest/minitest/issues", "changelog_uri" => "https://github.com/minitest/minitest/blob/master/History.rdoc"}
    5.27.0: {"homepage_uri" => "https://minite.st/", "source_code_uri" => "https://github.com/minitest/minitest", "bug_tracker_uri" => "https://github.com/minitest/minitest/issues", "changelog_uri" => "https://github.com/minitest/minitest/blob/master/History.rdoc"}
  DIFFERENT required_ruby_version:
    5.25.5: >= 2.7, < 4.0
    5.27.0: >= 3.1
  DIFFERENT rubygems_version:
    5.25.5: 3.6.3
    5.27.0: 3.7.2
  DIFFERENT version:
    5.25.5: 5.25.5
    5.27.0: 5.27.0
  DIFFERENT files:
    5.25.5->5.27.0:
      * Changed:
            History.rdoc +42/-0
            README.rdoc +13/-10
            Rakefile +18/-2
            design_rationale.rb +21/-19
            lib/hoe/minitest.rb +2/-1
            lib/minitest.rb +48/-33
            lib/minitest/assertions.rb +21/-26
            lib/minitest/autorun.rb +4/-4
            lib/minitest/benchmark.rb +2/-2
            lib/minitest/hell.rb +1/-1
            lib/minitest/manual_plugins.rb +1/-1
            lib/minitest/mock.rb +5/-25
            lib/minitest/parallel.rb +2/-0
            lib/minitest/pride.rb +1/-1
            lib/minitest/pride_plugin.rb +1/-1
            lib/minitest/spec.rb +9/-6
            lib/minitest/test.rb +4/-3
            lib/minitest/test_task.rb +28/-11
            lib/minitest/unit.rb +1/-1
            test/minitest/test_minitest_assertions.rb +19/-62
            test/minitest/test_minitest_mock.rb +5/-10
            test/minitest/test_minitest_reporter.rb +6/-5
            test/minitest/test_minitest_spec.rb +23/-27
            test/minitest/test_minitest_test.rb +2/-2
  DIFFERENT extra_rdoc_files:
    5.25.5->5.27.0:
      * Changed:
            History.rdoc +42/-0
            README.rdoc +13/-10
  DIFFERENT development dependencies:
    5.25.5->5.27.0:
      * Updated:
            hoe from: ["~> 4.2"] to: ["~> 4.3"]

@github-actions
Copy link
Contributor

gem compare --diff minitest 5.25.5 5.27.0

Compared versions: ["5.25.5", "5.27.0"]
  DIFFERENT files:
    5.25.5->5.27.0:
      * Changed:
        History.rdoc
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/History.rdoc	2025-12-12 03:01:53.352865494 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/History.rdoc	2025-12-12 03:01:53.359865511 +0000
                @@ -0,0 +1,42 @@
                +=== 5.26.2 / 2025-11-17
                +
                +* 5 bug fixes:
                +
                +  * Bumped minimum ruby to 3.1.
                +  * Alias Spec#name to #inspect for cleaner output in repls.
                +  * Fix pathing for Hoe::Minitest initialization to be more generic.
                +  * Fixed refute_in_epsilon to use min of abs values. (wtn)
                +  * Improved options processing and usage output to be more clear.
                +
                +=== 5.26.1 / 2025-11-08
                +
                +The Ocean Shores, Slightly Less Tipsy Edition!
                +
                +* 3 bug fixes:
                +
                +  * Add links to API doco in README.
                +  * Add missing require thread.
                +  * Bumped ruby version to include 4.0 (trunk). (hsbt)
                +    (see also 5.14.2)
                +
                +=== 5.26.0 / 2025-10-07
                +
                +The Seattle.rb Nerd Party, Slightly Tipsy Edition!
                +
                +* 2 minor enhancements:
                +
                +  * Added extra documentation to Minitest::TestTask options.
                +  * Make parallelize_me! a no-op when n_threads=1.
                +
                +* 9 bug fixes:
                +
                +  * Bypass parallel_executor entirely when n_threads=1.
                +  * Don't require rubygems in Rakefile... it is 2025.
                +  * Ensure that minitest exits non-zero on Interrupt. (tavianator)
                +  * Fix Minitest.run sequence rdoc to include loop vars and read consistently.
                +  * Fix call to parallel_executor.shutdown when it isn't defined.
                +  * Removed some 1.8/1.9-based code from the assertions and expectations.
                +  * Still fighting with rdoc? Yup. Still fighting with rdoc...
                +  * Switched assert_equal's diff from Tempfile.open to Tempfile.create.
                +  * Use Regexp.escape for BASE_RE in case pwd has special chars. (astra_1993)
                +
        README.rdoc
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/README.rdoc	2025-12-12 03:01:53.353865497 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/README.rdoc	2025-12-12 03:01:53.359865511 +0000
                @@ -3 +3,2 @@
                -home :: https://github.com/minitest/minitest
                +home :: https://minite.st/
                +code :: https://github.com/minitest/minitest
                @@ -7 +7,0 @@
                -vim  :: https://github.com/sunaku/vim-ruby-minitest
                @@ -8,0 +9 @@
                +vim  :: https://github.com/vim-test/vim-test
                @@ -98 +99,3 @@
                -Define your tests as methods beginning with +test_+.
                +Define your tests as methods beginning with +test_+. Use
                +{assertions}[/minitest/Minitest/Assertions.html] to test for results
                +or state.
                @@ -121,0 +125,3 @@
                +Use {expectations}[/minitest/Minitest/Expectations.html] to check
                +results or state. They must be wrapped in a value call (eg +_+).
                +
                @@ -149 +155 @@
                -Add benchmarks to your tests.
                +Add {benchmarks}[/minitest/Minitest/Benchmark.html] to your tests.
                @@ -424,0 +431 @@
                +  |   8.1 | >= 3.2   | >= 5.1   | Current  | 2027-10-07 |
                @@ -426,6 +433,2 @@
                -  |   7.2 | >= 3.1   | >= 5.1   | Current  | 2026-08-09 |
                -  |   7.1 | >= 2.7   | >= 5.1   | Security | 2025-10-01 |
                -  |   7.0 | >= 2.7   | >= 5.1   | Security | 2025-04-01 |
                -  |   6.1 | >= 2.5   | >= 5.1   | EOL      | 2024-10-01 |
                -  |   6.0 | >= 2.5   | >= 5.1   | EOL      | 2023-06-01 |
                -  |   5.2 | >= 2.2.2 | ~> 5.1   | EOL      | 2022-06-01 |
                +  |   7.2 | >= 3.1   | >= 5.1   | Security | 2026-08-09 |
                +  |   7.1 | >= 2.7   | >= 5.1   | EOL      | 2025-10-01 |
        Rakefile
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/Rakefile	2025-12-12 03:01:53.353865497 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/Rakefile	2025-12-12 03:01:53.360865513 +0000
                @@ -3 +2,0 @@
                -require "rubygems"
                @@ -15 +14,18 @@
                -  require_ruby_version [">= 2.7", "< 4.0"]
                +  require_ruby_version ">= 3.1"
                +
                +  self.post_install_message = <<~EOM
                +    NOTE: minitest 5 will be the last in the minitest family to support
                +          ruby 1.8 to 2.7. If you need to keep using these versions,
                +          you need to pin your dependency to minitest with something
                +          like "~> 5.0". See History.rdoc to locate compatible
                +          versions.
                +
                +          Further, minitest 6 will be dropping the following:
                +
                +          + MiniTest (it's been Minitest for >10 years)
                +          + MiniTest::Unit
                +          + MiniTest::Unit::TestCase
                +          + assert_send (unless you argue for it well)
                +          + assert_equal nil, obj
                +          + mocks and stubs: moving minitest/mock.rb to its own gem
                +  EOM
        design_rationale.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/design_rationale.rb	2025-12-12 03:01:53.353865497 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/design_rationale.rb	2025-12-12 03:01:53.360865513 +0000
                @@ -5,11 +4,0 @@
                -    do_some_setup                      #     super
                -  end                                  #     do_some_setup
                -                                       #   end
                -  it "should do the first thing" do    #
                -    1.must_equal 1                     #   def test_first_thing
                -  end                                  #     assert_equal 1, 1
                -                                       #   end
                -  describe SubThingy do                # end
                -    before do                          #
                -      do_more_setup                    # class TestSubThingy < TestThingy
                -    end                                #   def setup
                @@ -17,6 +6,6 @@
                -    it "should do the second thing" do #     do_more_setup
                -      2.must_equal 2                   #   end
                -    end                                #
                -  end                                  #   def test_second_thing
                -end                                    #     assert_equal 2, 2
                -                                       #   end
                +    do_some_setup                      #     do_some_setup
                +  end                                  #   end
                +                                       #
                +  it "should do the first thing" do    #   def test_first_thing
                +    _(1).must_equal 1                  #     assert_equal 1, 1
                +  end                                  #   end
                @@ -23,0 +13,13 @@
                +                                       #
                +  describe SubThingy do                # class TestSubThingy < TestThingy
                +    before do                          #   def setup
                +                                       #     super
                +      do_more_setup                    #     do_more_setup
                +    end                                #   end
                +                                       #
                +    it "should do the second thing" do #   def test_second_thing
                +      _(2).must_equal 2                #     assert_equal 2, 2
                +    end                                #   end
                +  end                                  # end
                +end                                    #
                +                                       #
                @@ -36 +38 @@
                -    assert_equal 1, 1
                +    _(1).must_equal 1
                @@ -50 +52 @@
                -    assert_equal 2, 2
                +    _(2).must_equal 2
        lib/hoe/minitest.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/hoe/minitest.rb	2025-12-12 03:01:53.353865497 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/hoe/minitest.rb	2025-12-12 03:01:53.360865513 +0000
                @@ -14 +14,2 @@
                -      dir = "../../minitest/dev/lib"
                +      dir = File.expand_path "../..", __FILE__
                +
        lib/minitest.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest.rb	2025-12-12 03:01:53.354865499 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest.rb	2025-12-12 03:01:53.360865513 +0000
                @@ -13 +13 @@
                -  VERSION = "5.25.5" # :nodoc:
                +  VERSION = "5.26.2" # :nodoc:
                @@ -39 +39 @@
                -  self.parallel_executor = Parallel::Executor.new n_threads
                +  self.parallel_executor = Parallel::Executor.new n_threads if n_threads > 1
                @@ -71,2 +71 @@
                -    Warning[:deprecated] = true if
                -      Object.const_defined?(:Warning) && Warning.respond_to?(:[]=)
                +    Warning[:deprecated] = true
                @@ -150 +149 @@
                -      opts.banner  = "minitest options:"
                +      opts.program_name = "minitest"
                @@ -152,0 +152,6 @@
                +      opts.banner = [
                +        "Usage: rake test [A=options]        (see Minitest::TestTask for more options)",
                +        "minitest [paths] [options]   (with minitest-sprint gem)",
                +        "ruby path/to/test.rb [options]\n\n",
                +      ].join "\n   or: "
                +
                @@ -158 +163 @@
                -      opts.on "--no-plugins", "Bypass minitest plugin auto-loading (or set $MT_NO_PLUGINS)."
                +      opts.on "--no-plugins", "Bypass minitest plugin auto-loading (or env: MT_NO_PLUGINS=1)."
                @@ -160 +165 @@
                -      desc = "Sets random seed. Also via env. Eg: SEED=n rake"
                +      desc = "Sets random seed. Also via env, eg: SEED=42"
                @@ -162 +167 @@
                -        options[:seed] = m.to_i
                +        options[:seed] = m
                @@ -165 +170 @@
                -      opts.on "-v", "--verbose", "Verbose. Show progress processing files." do
                +      opts.on "-v", "--verbose", "Verbose. Print each name as they run." do
                @@ -169 +174 @@
                -      opts.on "-q", "--quiet", "Quiet. Show no progress processing files." do
                +      opts.on "-q", "--quiet", "Quiet. Show no dots while processing files." do
                @@ -177 +182 @@
                -      opts.on "-n", "--name PATTERN", "Filter run on /regexp/ or string." do |a|
                +      opts.on "-n", "--name PATTERN", "Include /regexp/ or string for run." do |a|
                @@ -184,0 +190,9 @@
                +      # part of my unofficial embedded gem "makeoptparseworkwell"
                +      def opts.topdict(name)   = (name.length > 1 ? top.long : top.short)
                +      def opts.alias(from, to) = (dict = topdict(from) ; dict[to] = dict[from])
                +
                +      # these will work but won't show up in --help output:
                +      opts.alias "name", "include"
                +      opts.alias "n",    "i"
                +      opts.alias "e",    "x"
                +
                @@ -189,2 +202,0 @@
                -      ruby27plus = ::Warning.respond_to? :[]=
                -
                @@ -195 +207 @@
                -          require "minitest/error_on_warning"
                +          require_relative "minitest/error_on_warning"
                @@ -197 +209 @@
                -          ::Warning[:deprecated] = true if ruby27plus
                +          ::Warning[:deprecated] = true
                @@ -199 +211 @@
                -          ::Warning[s.to_sym] = true if ruby27plus # check validity of category
                +          ::Warning[s.to_sym] = true # check validity of category
                @@ -262 +274 @@
                -  #         Runnable.runnables.each
                +  #         Runnable.runnables.each |runnable_klass|
                @@ -264,4 +276,5 @@
                -  #             self.runnable_methods.each
                -  #               self.run_one_method(self, runnable_method, reporter)
                -  #                 Minitest.run_one_method(klass, runnable_method)
                -  #                   klass.new(runnable_method).run
                +  #             filtered_methods = runnable_methods.select {...}.reject {...}
                +  #             filtered_methods.each |runnable_method|
                +  #               runnable_klass.run_one_method(self, runnable_method, reporter)
                +  #                 Minitest.run_one_method(runnable_klass, runnable_method)
                +  #                   runnable_klass.new(runnable_method).run
                @@ -288,0 +302 @@
                +      finished = true
                @@ -292 +306 @@
                -    self.parallel_executor.shutdown
                +    self.parallel_executor.shutdown if parallel_executor.respond_to? :shutdown
                @@ -299,2 +313,2 @@
                -    return empty_run! options if summary && summary.count == 0
                -    reporter.passed?
                +    return empty_run! options if finished && summary && summary.count == 0
                +    finished and reporter.passed?
                @@ -411,0 +426 @@
                +      # at most 1-2% slower than a 1-pass version, stop optimizing this
                @@ -575 +590 @@
                -  end
                +  end # Runnable
                @@ -627 +642 @@
                -  end
                +  end # Reportable
                @@ -681 +696 @@
                -  end
                +  end # Result
                @@ -731 +746 @@
                -  end
                +  end # AbstractReportera
                @@ -886 +901 @@
                -  end
                +  end # StatisticsReporter
                @@ -964 +979 @@
                -  end
                +  end # SummaryReporter
                @@ -1015 +1030 @@
                -  end
                +  end # CompositeReporter
                @@ -1082 +1097 @@
                -    BASE_RE = %r%#{Dir.pwd}/% # :nodoc:
                +    BASE_RE = %r%#{Regexp.escape Dir.pwd}/% # :nodoc:
                @@ -1235 +1250 @@
                -require "minitest/test"
                +require_relative "minitest/test"
        lib/minitest/assertions.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/assertions.rb	2025-12-12 03:01:53.354865499 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/assertions.rb	2025-12-12 03:01:53.360865513 +0000
                @@ -65 +65 @@
                -      Tempfile.open "expect" do |a|
                +      Tempfile.create "expect" do |a|
                @@ -69 +69 @@
                -        Tempfile.open "butwas" do |b|
                +        Tempfile.create "butwas" do |b|
                @@ -198,0 +199,6 @@
                +    def _caller_uplevel # :nodoc:
                +      backtrace = caller
                +      real_caller = Minitest.filter_backtrace(caller).first
                +      backtrace.index(real_caller)
                +    end
                +
                @@ -222 +228 @@
                -          warn "DEPRECATED: Use assert_nil if expecting nil from #{_where}. This will fail in Minitest 6."
                +          warn "DEPRECATED: Use assert_nil if expecting nil. This will fail in Minitest 6.", uplevel: _caller_uplevel
                @@ -371 +376,0 @@
                -      raise NotImplementedError, "only available in Ruby 3.0+" unless RUBY_VERSION >= "3.0"
                @@ -374,6 +379,4 @@
                -      begin # TODO: remove after ruby 2.6 dropped
                -        yield
                -        pass
                -      rescue NoMatchingPatternError => e
                -        flunk e.message
                -      end
                +      yield
                +      pass
                +    rescue NoMatchingPatternError => e
                +      flunk e.message
                @@ -474 +477 @@
                -      warn "DEPRECATED: assert_send. From #{_where}"
                +      warn "DEPRECATED: assert_send.", uplevel: _caller_uplevel
                @@ -503,3 +506 @@
                -        rescue ThreadError => e       # wtf?!? 1.8 + threads == suck
                -          default += ", not :#{e.message[/uncaught throw \`(\w+?)\'/, 1]}"
                -        rescue ArgumentError => e     # 1.9 exception
                +        rescue ArgumentError => e     # 1.9+ exception
                @@ -508,3 +508,0 @@
                -        rescue NameError => e         # 1.8 exception
                -          raise e unless e.name == sym
                -          default += ", not #{e.name.inspect}"
                @@ -695,2 +693,2 @@
                -    def refute_in_epsilon a, b, epsilon = 0.001, msg = nil
                -      refute_in_delta a, b, a * epsilon, msg
                +    def refute_in_epsilon exp, act, epsilon = 0.001, msg = nil
                +      refute_in_delta exp, act, [exp.abs, act.abs].min * epsilon, msg
                @@ -759 +756,0 @@
                -      raise NotImplementedError, "only available in Ruby 3.0+" unless RUBY_VERSION >= "3.0"
                @@ -762,6 +759,4 @@
                -      begin
                -        yield
                -        flunk "NoMatchingPatternError expected, but nothing was raised."
                -      rescue NoMatchingPatternError
                -        pass
                -      end
                +      yield
                +      flunk "NoMatchingPatternError expected, but nothing was raised."
                +    rescue NoMatchingPatternError
                +      pass
        lib/minitest/autorun.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/autorun.rb	2025-12-12 03:01:53.354865499 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/autorun.rb	2025-12-12 03:01:53.361865515 +0000
                @@ -1,4 +1,4 @@
                -require "minitest"
                -require "minitest/spec"
                -require "minitest/mock"
                -require "minitest/hell" if ENV["MT_HELL"]
                +require_relative "../minitest"
                +require_relative "spec"
                +require_relative "mock"
                +require_relative "hell" if ENV["MT_HELL"]
        lib/minitest/benchmark.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/benchmark.rb	2025-12-12 03:01:53.354865499 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/benchmark.rb	2025-12-12 03:01:53.361865515 +0000
                @@ -1,2 +1,2 @@
                -require "minitest/test"
                -require "minitest/spec"
                +require_relative "test"
                +require_relative "spec"
        lib/minitest/hell.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/hell.rb	2025-12-12 03:01:53.355865501 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/hell.rb	2025-12-12 03:01:53.361865515 +0000
                @@ -1 +1 @@
                -require "minitest/parallel"
                +require_relative "parallel"
        lib/minitest/manual_plugins.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/manual_plugins.rb	2025-12-12 03:01:53.355865501 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/manual_plugins.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -1 +1 @@
                -require "minitest"
                +require_relative "../minitest"
        lib/minitest/mock.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/mock.rb	2025-12-12 03:01:53.355865501 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/mock.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -36,5 +36 @@
                -          if kwargs.empty? then # FIX: drop this after 2.7 dead
                -            method_missing(method_id, *args, &b)
                -          else
                -            method_missing(method_id, *args, **kwargs, &b)
                -          end
                +          method_missing(method_id, *args, **kwargs, &b)
                @@ -42,5 +38 @@
                -          if kwargs.empty? then # FIX: drop this after 2.7 dead
                -            super(*args, &b)
                -          else
                -            super(*args, **kwargs, &b)
                -          end
                +          super(*args, **kwargs, &b)
                @@ -158,5 +150 @@
                -          if kwargs.empty? then # FIX: drop this after 2.7 dead
                -            return @delegator.public_send(sym, *args, &block)
                -          else
                -            return @delegator.public_send(sym, *args, **kwargs, &block)
                -          end
                +          return @delegator.public_send(sym, *args, **kwargs, &block)
                @@ -323,5 +311 @@
                -          if kwargs.empty? then # FIX: drop this after 2.7 dead
                -            val_or_callable.call(*args, &blk)
                -          else
                -            val_or_callable.call(*args, **kwargs, &blk)
                -          end
                +          val_or_callable.call(*args, **kwargs, &blk)
                @@ -330,5 +314 @@
                -            if block_kwargs.empty? then # FIX: drop this after 2.7 dead
                -              blk.call(*block_args)
                -            else
                -              blk.call(*block_args, **block_kwargs)
                -            end
                +            blk.call(*block_args, **block_kwargs)
        lib/minitest/parallel.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/parallel.rb	2025-12-12 03:01:53.355865501 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/parallel.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -0,0 +1,2 @@
                +require "thread"
                +
        lib/minitest/pride.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/pride.rb	2025-12-12 03:01:53.355865501 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/pride.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -1 +1 @@
                -require "minitest"
                +require_relative "../minitest"
        lib/minitest/pride_plugin.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/pride_plugin.rb	2025-12-12 03:01:53.356865504 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/pride_plugin.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -1 +1 @@
                -require "minitest"
                +require_relative "../minitest"
        lib/minitest/spec.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/spec.rb	2025-12-12 03:01:53.356865504 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/spec.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -1 +1 @@
                -require "minitest/test"
                +require_relative "test"
                @@ -41 +41,5 @@
                -Minitest::Expectation = Struct.new :target, :ctx # :nodoc:
                +# :stopdoc:
                +module Minitest # fucking hell rdoc...
                +  Expectation = Struct.new :target, :ctx
                +end
                +# :startdoc:
                @@ -288,3 +292,2 @@
                -    def to_s # :nodoc:
                -      name # Can't alias due to 1.8.7, not sure why
                -    end
                +    alias to_s name
                +    alias inspect name
                @@ -346 +349 @@
                -require "minitest/expectations"
                +require_relative "expectations"
        lib/minitest/test.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/test.rb	2025-12-12 03:01:53.356865504 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/test.rb	2025-12-12 03:01:53.362865518 +0000
                @@ -1 +1 @@
                -require "minitest" unless defined? Minitest::Runnable
                +require_relative "../minitest" unless defined? Minitest::Runnable
                @@ -11 +11 @@
                -    require "minitest/assertions"
                +    require_relative "assertions"
                @@ -60,0 +61 @@
                +      return unless Minitest.parallel_executor
                @@ -237 +238 @@
                -require "minitest/unit" if ENV["MT_COMPAT"] # compatibility layer only
                +require_relative "unit" if ENV["MT_COMPAT"] # compatibility layer only
        lib/minitest/test_task.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/test_task.rb	2025-12-12 03:01:53.356865504 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/test_task.rb	2025-12-12 03:01:53.363865520 +0000
                @@ -47,2 +47,10 @@
                -    # Create several test-oriented tasks under +name+. Takes an
                -    # optional block to customize variables.
                +    # Create several test-oriented tasks under +name+ (default:
                +    # "test"). Takes an optional block to customize variables.
                +    # Examples:
                +    #
                +    #   Minitest::TestTask.create # named "test", all defaults
                +    #
                +    #   Minitest::TestTask.create do |t|
                +    #     t.warning = false # my tests are noisy
                +    #     t.framework = %(require_relative "./test/helper.rb")
                +    #   end
                @@ -72 +80,9 @@
                -    # minitest/autorun...
                +    # minitest/autorun.
                +    #
                +    # If you have a test helper file that requires minitest/autorun
                +    # and anything else your project standardizes on, then you'll
                +    # probably want to change this to:
                +    #
                +    #   Minitest::TestTask.create do |t|
                +    #     t.framework = %(require_relative "./test/helper.rb")
                +    #   end
                @@ -74 +90,2 @@
                -    # Why do I have this as an option?
                +    # or something similar. NOTE: if you do this, then helper must
                +    # require "minitest/autorun" at the top to start the tests.
                @@ -102,0 +120,5 @@
                +    # Example:
                +    #
                +    #   Minitest::TestTask.create "test:cov" do |t|
                +    #     t.test_prelude = %(require "simplecov")
                +    #   end
                @@ -284,7 +306,2 @@
                -  def initialize jobs = [] # :nodoc:
                -    super()
                -
                -    jobs.each do |job|
                -      self << job
                -    end
                -
                +  def initialize jobs # :nodoc:
                +    super
        lib/minitest/unit.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/lib/minitest/unit.rb	2025-12-12 03:01:53.356865504 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/lib/minitest/unit.rb	2025-12-12 03:01:53.363865520 +0000
                @@ -14 +14 @@
                -  require "minitest"
                +  require_relative "../minitest"
        test/minitest/test_minitest_assertions.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/test/minitest/test_minitest_assertions.rb	2025-12-12 03:01:53.357865506 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/test/minitest/test_minitest_assertions.rb	2025-12-12 03:01:53.363865520 +0000
                @@ -145,2 +145 @@
                -    # TODO: switch to endless when 2.7 is dropped
                -    act_obj.define_singleton_method(:inspect) { "#<Object:0xXXXXXX>" }
                +    def act_obj.inspect = "#<Object:0xXXXXXX>"
                @@ -295 +294 @@
                -      err_re = /Use assert_nil if expecting nil from .*test_minitest_\w+.rb/
                +      err_re = /.*?test_minitest_\w+.rb:\d+: warning: DEPRECATED: Use assert_nil if expecting nil. This will fail in Minitest 6./
                @@ -321 +320 @@
                -    msg = <<~EOM
                +    msg = <<~'EOM' # NOTE: single quotes on heredoc
                @@ -325 +324 @@
                -          -"A\\n
                +          -"A\n
                @@ -327 +326 @@
                -          +"A\\n\\\\nB"
                +          +"A\n\\nB"
                @@ -1077,18 +1076,3 @@
                -    if RUBY_VERSION > "3" then
                -      @tc.assert_pattern do
                -        exp = if RUBY_VERSION.start_with? "3.0"
                -                "(eval):1: warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!\n"
                -              else
                -                ""
                -              end
                -        assert_output nil, exp do
                -          eval "[1,2,3] => [Integer, Integer, Integer]" # eval to escape parser for ruby<3
                -        end
                -      end
                -    else
                -      @assertion_count = 0
                -
                -      assert_raises NotImplementedError do
                -        @tc.assert_pattern do
                -          # do nothing
                -        end
                +    @tc.assert_pattern do
                +      assert_output nil, "" do
                +        [1,2,3] => [Integer, Integer, Integer]
                @@ -1100,6 +1084 @@
                -    skip unless RUBY_VERSION > "3"
                -    exp = if RUBY_VERSION.start_with? "3.0" then
                -            "[1, 2, 3]" # terrible error message!
                -          else
                -            /length mismatch/
                -          end
                +    exp = /length mismatch/
                @@ -1109,3 +1088 @@
                -        capture_io do # 3.0 is noisy
                -          eval "[1,2,3] => [Integer, Integer]" # eval to escape parser for ruby<3
                -        end
                +        [1,2,3] => [Integer, Integer]
                @@ -1117,2 +1093,0 @@
                -    skip unless RUBY_VERSION >= "3.0"
                -
                @@ -1129,2 +1103,0 @@
                -    skip unless RUBY_VERSION >= "3.0"
                -
                @@ -1283,2 +1256,2 @@
                -    assert_triggered "Expected |10000 - 9990| (10) to not be <= 10.0." do
                -      @tc.refute_in_epsilon 10_000, 9990
                +    assert_triggered "Expected |10000 - 9991| (9) to not be <= 9.991." do
                +      @tc.refute_in_epsilon 10_000, 9991
                @@ -1288,0 +1262,4 @@
                +  def test_refute_in_epsilon_minimum
                +    @tc.refute_in_epsilon 10_000, 9990
                +  end
                +
                @@ -1385,14 +1362,2 @@
                -    if RUBY_VERSION >= "3.0"
                -      @tc.refute_pattern do
                -        capture_io do # 3.0 is noisy
                -          eval "[1,2,3] => [Integer, Integer, String]"
                -        end
                -      end
                -    else
                -      @assertion_count = 0
                -
                -      assert_raises NotImplementedError do
                -        @tc.refute_pattern do
                -          eval "[1,2,3] => [Integer, Integer, String]"
                -        end
                -      end
                +    @tc.refute_pattern do
                +      [1,2,3] => [Integer, Integer, String]
                @@ -1403,2 +1367,0 @@
                -    skip unless RUBY_VERSION > "3"
                -
                @@ -1407,3 +1370 @@
                -        capture_io do # 3.0 is noisy
                -          eval "[1,2,3] => [Integer, Integer, Integer]"
                -        end
                +        [1,2,3] => [Integer, Integer, Integer]
                @@ -1415,2 +1375,0 @@
                -    skip unless RUBY_VERSION >= "3.0"
                -
                @@ -1427,2 +1385,0 @@
                -    skip unless RUBY_VERSION >= "3.0"
                -
        test/minitest/test_minitest_mock.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/test/minitest/test_minitest_mock.rb	2025-12-12 03:01:53.357865506 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/test/minitest/test_minitest_mock.rb	2025-12-12 03:01:53.364865522 +0000
                @@ -371,5 +371 @@
                -      if RUBY_VERSION > "3" then
                -        mock.foo arg1, arg2, arg3
                -      else
                -        mock.foo arg1, arg2, **arg3 # oddity just for ruby 2.7
                -      end
                +      mock.foo arg1, arg2, arg3
                @@ -404,2 +400,2 @@
                -    # basically testing ruby ... need ? for ruby < 2.7 :(
                -    assert_match(/missing keyword: :?k3/, e.message)
                +    # basically testing ruby
                +    assert_match(/missing keyword: :k3/, e.message)
                @@ -419,2 +415 @@
                -    # basically testing ruby ... need ? for ruby < 2.7 :(
                -    assert_match(/unknown keyword: :?k3/, e.message)
                +    assert_match(/unknown keyword: :k3/, e.message)
                @@ -659 +654 @@
                -require "minitest/metametameta"
                +require_relative "metametameta"
        test/minitest/test_minitest_reporter.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/test/minitest/test_minitest_reporter.rb	2025-12-12 03:01:53.357865506 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/test/minitest/test_minitest_reporter.rb	2025-12-12 03:01:53.364865522 +0000
                @@ -2 +2 @@
                -require "minitest/metametameta"
                +require_relative "metametameta"
                @@ -31,0 +32 @@
                +    @et = @ft = @pt = @st = @sse = nil
                @@ -35 +36 @@
                -    unless defined? @et then
                +    unless @et then
                @@ -48 +49 @@
                -    unless defined? @sse then
                +    unless @sse then
                @@ -67 +68 @@
                -    unless defined? @ft then
                +    unless @ft then
                @@ -90 +91 @@
                -    unless defined? @st then
                +    unless @st then
        test/minitest/test_minitest_spec.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/test/minitest/test_minitest_spec.rb	2025-12-12 03:01:53.358865508 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/test/minitest/test_minitest_spec.rb	2025-12-12 03:01:53.364865522 +0000
                @@ -1 +1 @@
                -require "minitest/metametameta"
                +require_relative "metametameta"
                @@ -111 +111 @@
                -    @assertion_count = 2
                +    @assertion_count -= 2
                @@ -151,7 +151 @@
                -    if RUBY_VERSION > "3" then
                -      expect { good_pattern }.must_pattern_match
                -    else
                -      assert_raises NotImplementedError do
                -        expect {}.must_pattern_match
                -      end
                -    end
                +    expect { good_pattern }.must_pattern_match
                @@ -161,2 +154,0 @@
                -    skip unless RUBY_VERSION > "3"
                -
                @@ -165,5 +157 @@
                -    exp = if RUBY_VERSION.start_with? "3.0"
                -            "[1, 2, 3]" # terrible error message!
                -          else
                -            /length mismatch/
                -          end
                +    exp = /length mismatch/
                @@ -287 +275 @@
                -    exp = /DEPRECATED: Use assert_nil if expecting nil from .* This will fail in Minitest 6./
                +    exp = /.*?test_minitest_\w+.rb:\d+: warning: DEPRECATED: Use assert_nil if expecting nil. This will fail in Minitest 6./
                @@ -713,2 +700,0 @@
                -  i_suck_and_my_tests_are_order_dependent!
                -
                @@ -725 +711 @@
                -    _(_count).must_equal 0
                +    exp = _count + 1
                @@ -727,2 +713,2 @@
                -    _(count).must_equal 1
                -    _(count).must_equal 1
                +    _(count).must_equal exp
                +    _(count).must_equal exp
                @@ -730 +716 @@
                -    _(_count).must_equal 1
                +    _(_count).must_equal exp
                @@ -734 +720 @@
                -    _(_count).must_equal 1
                +    exp = _count + 1
                @@ -736,2 +722,2 @@
                -    _(count).must_equal 2
                -    _(count).must_equal 2
                +    _(count).must_equal exp
                +    _(count).must_equal exp
                @@ -739 +725 @@
                -    _(_count).must_equal 2
                +    _(_count).must_equal exp
                @@ -941,0 +928,10 @@
                +  end
                +
                +  def test_inspect
                +    spec_a = describe ExampleA do; end
                +    spec_b = describe ExampleB, :random_method do; end
                +    spec_c = describe ExampleB, :random_method, :addl_context do; end
                +
                +    assert_equal "ExampleA", spec_a.inspect
                +    assert_equal "ExampleB::random_method", spec_b.inspect
                +    assert_equal "ExampleB::random_method::addl_context", spec_c.inspect
        test/minitest/test_minitest_test.rb
                --- /tmp/d20251212-2388-tl5y5z/minitest-5.25.5/test/minitest/test_minitest_test.rb	2025-12-12 03:01:53.358865508 +0000
                +++ /tmp/d20251212-2388-tl5y5z/minitest-5.27.0/test/minitest/test_minitest_test.rb	2025-12-12 03:01:53.364865522 +0000
                @@ -1 +1 @@
                -require "minitest/metametameta"
                +require_relative "metametameta"
                @@ -665 +665 @@
                -    skip if Minitest.parallel_executor.size < 2 # locks up test runner if 1 CPU
                +    skip unless Minitest.parallel_executor # locks up test runner if 1 CPU

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 18, 2025

Superseded by #839.

@dependabot dependabot bot closed this Dec 18, 2025
@dependabot dependabot bot deleted the dependabot/bundler/minitest-5.27.0 branch December 18, 2025 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant