Method: Erudite::Executable.format_failing_example
- Defined in:
- lib/erudite/executable.rb
.format_failing_example(example) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/erudite/executable.rb', line 22 def self.format_failing_example(example) "- FAIL\n Source: \#{example.source}\n Expected:\nOutput: \#{example.expected.output.inspect}\nResult: \#{example.expected.result.inspect}\n Actual:\nOutput: \#{example.actual.output.inspect}\nResult: \#{example.actual.result.inspect}\n TXT\nend\n" |