nitunit: remove the working directory on success
[nit.git] / src / nitunit.nit
index bed744c..8d79e80 100644 (file)
@@ -152,5 +152,8 @@ else
        end
        print "{head} {fail}/{total} tests failed."
 
+       print "`{test_dir}` is not removed for investigation."
        exit 1
 end
+
+test_dir.rmdir