# File test/unit/assertions.rb, line 207 def assert_not_same(expected, actual, message="") _wrap_assertion { full_message = build_message(message, expected, expected.id, actual, actual.id) { | arg1, arg2, arg3, arg4 | "Expected <#{arg1}:#{arg2}> to not be equal? to <#{arg3}:#{arg4}>" } assert_block(full_message) { ! actual.equal?(expected) } } end