lib/xcpretty/parser.rb in xcpretty-0.3.0 vs lib/xcpretty/parser.rb in xcpretty-0.4.0

- old
+ new

@@ -361,10 +361,10 @@ when RESTARTING_TESTS_MATCHER formatter.format_failing_test(@test_suite, @test_case, "Test crashed", "n/a") when UI_FAILING_TEST_MATCHER formatter.format_failing_test(@test_suite, @test_case, $2, $1) when FAILING_TEST_MATCHER - formatter.format_failing_test($2, $3, $4, $1) + formatter.format_failing_test($2, $3, ERB::Util.html_escape($4), $1) when FATAL_ERROR_MATCHER formatter.format_error($1) when FILE_MISSING_ERROR_MATCHER formatter.format_file_missing_error($1, $2) when GENERATE_DSYM_MATCHER