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