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