![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
# File test/unit/assertions.rb, line 236
def assert_not_same(expected, actual, message="")
_wrap_assertion {
full_message = build_message(message, expected, expected.id, actual, actual.id) {
| arg1, arg2, arg3, arg4 |
"<#{arg1}:#{arg2}> expected to not be equal? to\n" +
"<#{arg3}:#{arg4}>"
}
assert_block(full_message) {
! actual.equal?(expected)
}
}
end
|