ref: f7f6e6aaaba6cda088689d4d1699cb15df5db410
parent: 8a8f41b17cb8c2f51b26e3e3a541e7b0a876ec3c
author: Ori Bernstein <[email protected]>
date: Fri Dec 4 14:30:41 EST 2015
Make test failure output more readable.
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -89,13 +89,12 @@
const printfailed : (f : byte[:][:] -> void) = {failed
if failed.len > 10
- std.put("{} tests failed\n", failed.len)
+ std.put("\t{} tests failed\n", failed.len)
elif failed.len > 0
- std.put("FAILURES: ")
+ std.put("FAILURES:\n")
for t in failed
- std.put("{} ", t)
+ std.put("\t{}\n", t)
;;
- std.put("\n")
;;
}