-
Notifications
You must be signed in to change notification settings - Fork 1
Bump minitest from 5.25.5 to 5.26.2 #827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dependabot
wants to merge
1
commit into
main
Choose a base branch
from
dependabot/bundler/minitest-5.26.2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [minitest](https://github.com/minitest/minitest) from 5.25.5 to 5.26.2. - [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc) - [Commits](minitest/minitest@v5.25.5...v5.26.2) --- updated-dependencies: - dependency-name: minitest dependency-version: 5.26.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
gem compare minitest 5.25.5 5.26.2Compared versions: ["5.25.5", "5.26.2"]
DIFFERENT date:
5.25.5: 2025-03-12 00:00:00 UTC
5.26.2: 1980-01-02 00:00:00 UTC
DIFFERENT required_ruby_version:
5.25.5: >= 2.7, < 4.0
5.26.2: >= 3.1
DIFFERENT rubygems_version:
5.25.5: 3.6.3
5.26.2: 3.7.2
DIFFERENT version:
5.25.5: 5.25.5
5.26.2: 5.26.2
DIFFERENT files:
5.25.5->5.26.2:
* Changed:
History.rdoc +42/-0
README.rdoc +10/-8
Rakefile +1/-2
design_rationale.rb +21/-19
lib/hoe/minitest.rb +2/-1
lib/minitest.rb +45/-29
lib/minitest/assertions.rb +5/-10
lib/minitest/mock.rb +5/-25
lib/minitest/parallel.rb +2/-0
lib/minitest/spec.rb +7/-4
lib/minitest/test.rb +1/-0
lib/minitest/test_task.rb +26/-4
test/minitest/test_minitest_assertions.rb +10/-7
test/minitest/test_minitest_mock.rb +4/-9
test/minitest/test_minitest_spec.rb +19/-11
test/minitest/test_minitest_test.rb +1/-1
DIFFERENT extra_rdoc_files:
5.25.5->5.26.2:
* Changed:
History.rdoc +42/-0
README.rdoc +10/-8
DIFFERENT development dependencies:
5.25.5->5.26.2:
* Updated:
hoe from: ["~> 4.2"] to: ["~> 4.3"] |
gem compare --diff minitest 5.25.5 5.26.2Compared versions: ["5.25.5", "5.26.2"]
DIFFERENT files:
5.25.5->5.26.2:
* Changed:
History.rdoc
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/History.rdoc 2025-11-19 03:01:41.638659446 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/History.rdoc 2025-11-19 03:01:41.644659456 +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/d20251119-2323-k0mnx/minitest-5.25.5/README.rdoc 2025-11-19 03:01:41.638659446 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/README.rdoc 2025-11-19 03:01:41.645659457 +0000
@@ -98 +98,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 +124,3 @@
+Use {expectations}[/minitest/Minitest/Expectations.html] to check
+results or state. They must be wrapped in a value call (eg +_+).
+
@@ -149 +154 @@
-Add benchmarks to your tests.
+Add {benchmarks}[/minitest/Minitest/Benchmark.html] to your tests.
@@ -424,0 +430 @@
+ | 8.1 | >= 3.2 | >= 5.1 | Current | 2027-10-07 |
@@ -426,6 +432,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/d20251119-2323-k0mnx/minitest-5.25.5/Rakefile 2025-11-19 03:01:41.639659448 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/Rakefile 2025-11-19 03:01:41.645659457 +0000
@@ -3 +2,0 @@
-require "rubygems"
@@ -15 +14 @@
- require_ruby_version [">= 2.7", "< 4.0"]
+ require_ruby_version ">= 3.1"
design_rationale.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/design_rationale.rb 2025-11-19 03:01:41.639659448 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/design_rationale.rb 2025-11-19 03:01:41.645659457 +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/d20251119-2323-k0mnx/minitest-5.25.5/lib/hoe/minitest.rb 2025-11-19 03:01:41.639659448 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/hoe/minitest.rb 2025-11-19 03:01:41.645659457 +0000
@@ -14 +14,2 @@
- dir = "../../minitest/dev/lib"
+ dir = File.expand_path "../..", __FILE__
+
lib/minitest.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest.rb 2025-11-19 03:01:41.639659448 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest.rb 2025-11-19 03:01:41.646659459 +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
@@ -150 +150 @@
- opts.banner = "minitest options:"
+ opts.program_name = "minitest"
@@ -152,0 +153,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 +164 @@
- 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 +166 @@
- desc = "Sets random seed. Also via env. Eg: SEED=n rake"
+ desc = "Sets random seed. Also via env, eg: SEED=42"
@@ -162 +168 @@
- options[:seed] = m.to_i
+ options[:seed] = m
@@ -165 +171 @@
- opts.on "-v", "--verbose", "Verbose. Show progress processing files." do
+ opts.on "-v", "--verbose", "Verbose. Print each name as they run." do
@@ -169 +175 @@
- opts.on "-q", "--quiet", "Quiet. Show no progress processing files." do
+ opts.on "-q", "--quiet", "Quiet. Show no dots while processing files." do
@@ -177 +183 @@
- 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 +191,9 @@
+ # omg wtf
+ def opts.short_alias(from, to) = top.short[to] = top.short[from]
+ def opts.long_alias(from, to) = top.long[to] = top.long[from]
+
+ # these will work but won't show up in --help output:
+ opts.long_alias "name", "include"
+ opts.short_alias "n", "i"
+ opts.short_alias "e", "x"
+
@@ -189,2 +203,0 @@
- ruby27plus = ::Warning.respond_to? :[]=
-
@@ -197 +210 @@
- ::Warning[:deprecated] = true if ruby27plus
+ ::Warning[:deprecated] = true
@@ -199 +212 @@
- ::Warning[s.to_sym] = true if ruby27plus # check validity of category
+ ::Warning[s.to_sym] = true # check validity of category
@@ -262 +275 @@
- # Runnable.runnables.each
+ # Runnable.runnables.each |runnable_klass|
@@ -264,4 +277,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 +303 @@
+ finished = true
@@ -292 +307 @@
- self.parallel_executor.shutdown
+ self.parallel_executor.shutdown if parallel_executor.respond_to? :shutdown
@@ -299,2 +314,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 +427 @@
+ # at most 1-2% slower than a 1-pass version, stop optimizing this
@@ -575 +591 @@
- end
+ end # Runnable
@@ -627 +643 @@
- end
+ end # Reportable
@@ -681 +697 @@
- end
+ end # Result
@@ -731 +747 @@
- end
+ end # AbstractReportera
@@ -886 +902 @@
- end
+ end # StatisticsReporter
@@ -964 +980 @@
- end
+ end # SummaryReporter
@@ -1015 +1031 @@
- end
+ end # CompositeReporter
@@ -1082 +1098 @@
- BASE_RE = %r%#{Dir.pwd}/% # :nodoc:
+ BASE_RE = %r%#{Regexp.escape Dir.pwd}/% # :nodoc:
lib/minitest/assertions.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/assertions.rb 2025-11-19 03:01:41.640659449 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/assertions.rb 2025-11-19 03:01:41.646659459 +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|
@@ -503,3 +503 @@
- 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 +505,0 @@
- rescue NameError => e # 1.8 exception
- raise e unless e.name == sym
- default += ", not #{e.name.inspect}"
@@ -695,2 +690,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
lib/minitest/mock.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/mock.rb 2025-11-19 03:01:41.641659451 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/mock.rb 2025-11-19 03:01:41.647659460 +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/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/parallel.rb 2025-11-19 03:01:41.641659451 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/parallel.rb 2025-11-19 03:01:41.647659460 +0000
@@ -0,0 +1,2 @@
+require "thread"
+
lib/minitest/spec.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/spec.rb 2025-11-19 03:01:41.641659451 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/spec.rb 2025-11-19 03:01:41.648659462 +0000
@@ -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
lib/minitest/test.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/test.rb 2025-11-19 03:01:41.641659451 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/test.rb 2025-11-19 03:01:41.648659462 +0000
@@ -60,0 +61 @@
+ return unless Minitest.parallel_executor
lib/minitest/test_task.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/lib/minitest/test_task.rb 2025-11-19 03:01:41.642659452 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/lib/minitest/test_task.rb 2025-11-19 03:01:41.648659462 +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,5 @@
- # 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:
@@ -74 +86,6 @@
- # Why do I have this as an option?
+ # Minitest::TestTask.create do |t|
+ # t.framework = %(require_relative "./test/helper.rb")
+ # end
+ #
+ # 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
test/minitest/test_minitest_assertions.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/test/minitest/test_minitest_assertions.rb 2025-11-19 03:01:41.642659452 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/test/minitest/test_minitest_assertions.rb 2025-11-19 03:01:41.649659463 +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>"
@@ -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"
@@ -1283,2 +1282,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
@@ -1286,0 +1286,4 @@
+ end
+
+ def test_refute_in_epsilon_minimum
+ @tc.refute_in_epsilon 10_000, 9990
test/minitest/test_minitest_mock.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/test/minitest/test_minitest_mock.rb 2025-11-19 03:01:41.643659454 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/test/minitest/test_minitest_mock.rb 2025-11-19 03:01:41.649659463 +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)
test/minitest/test_minitest_spec.rb
--- /tmp/d20251119-2323-k0mnx/minitest-5.25.5/test/minitest/test_minitest_spec.rb 2025-11-19 03:01:41.643659454 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/test/minitest/test_minitest_spec.rb 2025-11-19 03:01:41.649659463 +0000
@@ -111 +111 @@
- @assertion_count = 2
+ @assertion_count -= 2
@@ -713,2 +712,0 @@
- i_suck_and_my_tests_are_order_dependent!
-
@@ -725 +723 @@
- _(_count).must_equal 0
+ exp = _count + 1
@@ -727,2 +725,2 @@
- _(count).must_equal 1
- _(count).must_equal 1
+ _(count).must_equal exp
+ _(count).must_equal exp
@@ -730 +728 @@
- _(_count).must_equal 1
+ _(_count).must_equal exp
@@ -734 +732 @@
- _(_count).must_equal 1
+ exp = _count + 1
@@ -736,2 +734,2 @@
- _(count).must_equal 2
- _(count).must_equal 2
+ _(count).must_equal exp
+ _(count).must_equal exp
@@ -739 +737 @@
- _(_count).must_equal 2
+ _(_count).must_equal exp
@@ -941,0 +940,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/d20251119-2323-k0mnx/minitest-5.25.5/test/minitest/test_minitest_test.rb 2025-11-19 03:01:41.643659454 +0000
+++ /tmp/d20251119-2323-k0mnx/minitest-5.26.2/test/minitest/test_minitest_test.rb 2025-11-19 03:01:41.650659465 +0000
@@ -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
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps minitest from 5.25.5 to 5.26.2.
Changelog
Sourced from minitest's changelog.
Commits
25f78c0prepped for release1284a3fDropped extra 2.7 compatibility code.adfb01dDropped extra 2.7 compatibility code.aa1c3fa- Fix pathing for Hoe::Minitest initialization to be more generic.cb3a345- Bumped minimum ruby to 3.1.1f47bc6- Fixed refute_in_epsilon to use min of abs values. (wtn)a52e727Fuuuuck I am SO tired of ruby 2.7!33259e4- Alias Spec#name to #inspect for cleaner output in repls.e2bc84c- Improved options processing and usage output to be more clear.15265daprepped for releaseDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)