Method: OutputToFDMatcher#failure_message

Defined in:
lib/mspec/matchers/output_to_fd.rb

#failure_messageObject



57
58
59
60
# File 'lib/mspec/matchers/output_to_fd.rb', line 57

def failure_message()
  ["Expected (#{@to_name}): #{@expected.inspect}\n",
   "#{'but got'.rjust(@to_name.length + 10)}: #{@actual.inspect}\nBacktrace"]
end