class RSpec::Matchers::BuiltIn::Eql
def failure_message
-
(String)
-
Other tags:
- Api: - private
def failure_message if string_encoding_differs? "\nexpected: #{format_encoding(expected)} #{expected_formatted}\n got: #{format_encoding(actual)} #{actual_formatted}\n\n(compared using eql?)\n" else "\nexpected: #{expected_formatted}\n got: #{actual_formatted}\n\n(compared using eql?)\n" end end