From 476f86723ea16afc0cd7036fff72fe18a9e75b19 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 20 Jan 2014 02:10:37 -0500 Subject: [PATCH] Test runner will not output duplicate newline before results when total % 60 --- test/inc-testcase.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/inc-testcase.js b/test/inc-testcase.js index b3c3892..2c2245e 100644 --- a/test/inc-testcase.js +++ b/test/inc-testcase.js @@ -236,7 +236,11 @@ function init() */ function endStats() { - testPrint( "\n\n" ); + testPrint( "\n" ); + if ( tcount % 60 !== 0 ) + { + testPrint( "\n" ); + } if ( failures.length ) {