From ee27c783e2602b6ba3aa2195fe2d59ba80310d84 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 9 May 2013 16:42:03 +0700 Subject: [PATCH] test ansi sequence color in ruby script when test failed --- tests/vendor/ceedling/lib/defaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vendor/ceedling/lib/defaults.rb b/tests/vendor/ceedling/lib/defaults.rb index 6254a64f9..7b8ba678d 100644 --- a/tests/vendor/ceedling/lib/defaults.rb +++ b/tests/vendor/ceedling/lib/defaults.rb @@ -345,7 +345,7 @@ DEFAULT_TESTS_RESULTS_REPORT_TEMPLATE = %q{ <%=@ceedling[:plugin_reportinator].generate_banner(header_prepend + 'FAILED UNIT TEST SUMMARY')%> % hash[:results][:failures].each do |failure| % failure[:collection].each do |item| -<%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%> +"\e[31m" <%=failure[:source][:path]%><%=File::SEPARATOR%><%=failure[:source][:file]%>:<%=item[:line]%>:<%=item[:test]%> % if (item[:message].length > 0) : "<%=item[:message]%>" % else