Skip to content

Commit

Permalink
OMG... Rake.verbose returns Object.new if unset. Fixed by ruby/rake#567
Browse files Browse the repository at this point in the history
…, but until then, compare against true.

[git-p4: depot-paths = "//src/minitest/dev/": change = 14139]
  • Loading branch information
zenspider committed May 11, 2024
1 parent 3f14f2a commit 56f5068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/test_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def initialize name = :test # :nodoc:
self.test_globs = ["test/**/test_*.rb",
"test/**/*_test.rb"]
self.test_prelude = nil
self.verbose = Rake.application.options.trace || Rake.verbose
self.verbose = Rake.application.options.trace || Rake.verbose == true
self.warning = true
end

Expand Down

0 comments on commit 56f5068

Please sign in to comment.