summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-04 19:30:41 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-04 19:31:23 -0800
commitf7f6e6aaaba6cda088689d4d1699cb15df5db410 (patch)
tree9d122bc477179e7432f3483f58ee74d7db87219c /mbld
parent8a8f41b17cb8c2f51b26e3e3a541e7b0a876ec3c (diff)
downloadmc-f7f6e6aaaba6cda088689d4d1699cb15df5db410.tar.gz
Make test failure output more readable.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/test.myr7
1 files changed, 3 insertions, 4 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index 4365870..3d36c81 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -89,13 +89,12 @@ const test = {b
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")
;;
}