# File test/unit/assertions.rb, line 251 def assert_not_equal(expected, actual, message="") _wrap_assertion { full_message = build_message(message, expected, actual) { | arg1, arg2 | "<#{arg1}> expected to be != to\n" + "<#{arg2}>" } assert_block(full_message) { expected != actual } } end