# File lib/rspec/matchers/built_in/equal.rb, line 9 def failure_message_for_should return "\nexpected \#{inspect_object(expected)}\ngot \#{inspect_object(actual)}\n\nCompared using equal?, which compares object identity,\nbut expected and actual are not the same object. Use\n`\#{eq_expression}` if you don't care about\nobject identity in this example.\n\n" end