# File test/unit/assertions.rb, line 151 def assert_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 be equal? to <#{arg3}:#{arg4}>" } assert_block(full_message) { actual.equal?(expected) } } end