1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_send): fix message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-09-12 13:24:19 +00:00
parent 2c9375ba69
commit 53fd35c304

View file

@ -274,7 +274,7 @@ EOT
else
(argsstr = mu_pp(args)).sub!(/\A\[(.*)\]\z/m, '\1')
end
"Expected #{mu_pp(recv)}.#{msg}#{argsstr} to return false"
"Expected #{mu_pp(recv)}.#{msg}#{argsstr} to return true"
}
assert recv.__send__(msg, *args), m
end