Skip to content

Commit

Permalink
+ Only load minitest/unit (aka ancient MiniTest compatibility layer) …
Browse files Browse the repository at this point in the history
…if ENV["MT_COMPAT"]

[git-p4: depot-paths = "//src/minitest/dev/": change = 13830]
  • Loading branch information
zenspider committed Jun 24, 2023
1 parent 5f05692 commit a2c6c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ def with_info_handler &block # :nodoc:
end # Test
end

require "minitest/unit" unless defined?(MiniTest) # compatibility layer only
require "minitest/unit" if ENV["MT_COMPAT"] # compatibility layer only

0 comments on commit a2c6c18

Please sign in to comment.