improve new format checking to capture all valid outputs.

improve floating point special case reporting to always use verbose.
fix bug in arrays where values were sometimes not shown.
This commit is contained in:
Mark VanderVoord
2026-03-12 14:19:12 -04:00
parent 943f4706ee
commit 849d95e119
3 changed files with 87 additions and 54 deletions
+6
View File
@@ -19,6 +19,12 @@ def report(message)
colour = case line
when /(?:total\s+)?tests:?\s+(\d+)\s+(?:total\s+)?failures:?\s+\d+\s+Ignored:?/i
Regexp.last_match(1).to_i.zero? ? :green : :red
when /^\[FAIL\]/
:red
when /^\[p \]/
:green
when /^\[i---\]/
:green
when /PASS/
:green
when /^OK$/