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