lib/petitest/texts/failures_element_text.rb in petitest-0.1.3 vs lib/petitest/texts/failures_element_text.rb in petitest-0.2.0
- old
+ new
@@ -28,10 +28,10 @@
# @return [String]
def body
[
::Petitest::Texts::RaisedCodeText.new(test_case: test_case),
- ::Petitest::Texts::FailureMessageText.new(test_case: test_case),
+ ::Petitest::Texts::ErrorMessageText.new(test_case: test_case),
::Petitest::Texts::FilteredBacktraceText.new(test_case: test_case),
].join("\n")
end
# @return [String]