diff options
| author | hathach <[email protected]> | 2013-05-09 16:46:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-09 16:46:31 +0700 |
| commit | 7de505cb75de1b6f3c0e928f037de406249d3fb4 (patch) | |
| tree | 9be4e6f41ef0c46ba4ddc4c355011d296f4f9357 | |
| parent | ee27c783e2602b6ba3aa2195fe2d59ba80310d84 (diff) | |
move esc around in ruby script
| -rw-r--r-- | tests/vendor/ceedling/lib/defaults.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vendor/ceedling/lib/defaults.rb b/tests/vendor/ceedling/lib/defaults.rb index 7b8ba678d..9a531fcfd 100644 --- a/tests/vendor/ceedling/lib/defaults.rb +++ b/tests/vendor/ceedling/lib/defaults.rb @@ -342,10 +342,10 @@ DEFAULT_TESTS_RESULTS_REPORT_TEMPLATE = %q{ % end % if (failed > 0) -<%=@ceedling[:plugin_reportinator].generate_banner(header_prepend + 'FAILED UNIT TEST SUMMARY')%> +<%=@ceedling[:plugin_reportinator].generate_banner(header_prepend + "\e[31m" 'FAILED UNIT TEST SUMMARY')%> % hash[:results][:failures].each do |failure| % failure[:collection].each do |item| -"\e[31m" <%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%> +<%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%> % if (item[:message].length > 0) : "<%=item[:message]%>" % else |
