aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2017-04-08 19:49:37 -0400
committerEduardo Julian2017-04-08 19:49:37 -0400
commit5cc044086c0e7332bf8b5c2adb98d3419c675aec (patch)
treeac5e9f1b7e5436fb835cfd07012ca3d9afabd24d
parent65c4c83fcab2648bf48d3a816fc5d94d3e52bb1a (diff)
- Improved the way the message is shown when the tests are done running.
-rw-r--r--stdlib/source/lux/test.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/test.lux b/stdlib/source/lux/test.lux
index 94a77d8cf..8e854d501 100644
--- a/stdlib/source/lux/test.lux
+++ b/stdlib/source/lux/test.lux
@@ -292,12 +292,12 @@
(exec (log! ($_ _appendT_
"Test-suite finished."
"\n"
- (_%i_ (nat-to-int (~ g!_))) " tests failed."
- "\n"
(_%i_ (nat-to-int (~ g!accum)))
" out of "
(~ (|> num-tests nat-to-int _%i_ ast;text))
- " tests passed."))
+ " tests passed."
+ "\n"
+ (_%i_ (nat-to-int (~ g!_))) " tests failed."))
(promise;future (if (n.> +0 (~ g!_))
;;die
;;exit))))