Commit d9f1d038 authored by Joachim Breitner's avatar Joachim Breitner

Print no change as 0.0%

not as +0.0%. Makes the real increases much easier to spot.
parent 317148f9
......@@ -887,6 +887,7 @@ data BoxValue
showBox :: BoxValue -> String
showBox (RunFailed stat) = show_stat stat
showBox (Percentage 100) = " 0.0%" -- pattern matching on Float is bad style, but this is not crucial
showBox (Percentage f) = case printf "%.1f%%" (f-100) of
xs@('-':_) -> xs
xs -> '+':xs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment