# File test/unit/assertions.rb, line 166 def assert_operator(object1, operator, object2, message="") _wrap_assertion { full_message = build_message(message, object1, operator, object2) { | arg1, arg2, arg3 | "Expected <#{arg1}> to be #{arg2} <#{arg3}>" } assert_block(full_message) { object1.send(operator, object2) } } end