Permalink
Browse files

tenderlove talked me into switching the two

[git-p4: depot-paths = "//src/minitest/dev/": change = 11410]
  • Loading branch information...
1 parent bdfa9a1 commit ca6a71ca901016db09a5ad466b4adea4b52a504a @zenspider zenspider committed Aug 28, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minitest/assertions.rb
@@ -173,7 +173,7 @@ def assert_equal exp, act, msg = nil
msg = message(msg, E) { diff exp, act }
result = assert exp == act, msg
- if exp == nil then
+ if nil == exp then
if Minitest::VERSION =~ /^6/ then
refute_nil exp, "Use assert_nil if expecting nil."
else

0 comments on commit ca6a71c

Please sign in to comment.