shithub: mc

Download patch

ref: 3a5ddf0610add4ea0663c4bf2d7f569ac723ad81
parent: be27d7ef34e73a0289e786456c8aa60aec55e646
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Oct 26 17:52:51 EDT 2016

Reset the subtest count.

--- a/mbld/subtest.myr
+++ b/mbld/subtest.myr
@@ -98,6 +98,7 @@
 					ok = false
 				;;
 				ntests = n
+				nresults = 0
 				continue
 			;;
 		;;
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -82,7 +82,7 @@
 	if ok
 		std.put("TESTS PASSED\n")
 	else
-		std.put("TESTS FAILED ({}/P{\n")
+		std.put("TESTS FAILED\n")
 	;;
 	std.slfree(failed)
 	std.slfree(tests)