Skip to content

Commit

Permalink
- Expand MT6 to Minitest 6. (xaviershay)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 11169]
  • Loading branch information
zenspider committed Jan 2, 2017
1 parent 7bcd029 commit 370ae56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/minitest/assertions.rb
Expand Up @@ -180,7 +180,7 @@ def assert_equal exp, act, msg = nil
where = Minitest.filter_backtrace(caller).first
where = where.split(/:in /, 2).first # clean up noise

$stderr.puts "Use assert_nil if expecting nil from #{where}. This will fail in MT6."
$stderr.puts "Use assert_nil if expecting nil from #{where}. This will fail in Minitest 6."
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/minitest/test_minitest_spec.rb
Expand Up @@ -224,7 +224,7 @@ def assert_triggered expected = "blah", klass = Minitest::Assertion
end

exp = "Use assert_nil if expecting nil from #{__FILE__}:#{__LINE__-3}. " \
"This will fail in MT6.\n"
"This will fail in Minitest 6.\n"

assert_empty out
assert_equal exp, err
Expand Down

0 comments on commit 370ae56

Please sign in to comment.