|
# File test/unit/assertions.rb, line 50
def assert_equal(expected, actual, message=nil)
_wrap_assertion {
full_message = build_message(message, expected, actual) {
| arg1, arg2 |
"<#{arg1}> expected but was\n" +
"<#{arg2}>"
}
assert_block(full_message) {
expected == actual
}
}
end
|