From e94b6597afbe214a8e4bad68b38e0dd3b265f18f Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Tue, 25 Mar 2014 21:30:53 -0400 Subject: [PATCH] s/spaces/tab --- tests/test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index a50f3d8f..18d1a96f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -10,7 +10,8 @@ test.print = function(print) { print(test.failures[i].toString()) } print("tests: " + test.total + "\nfailures: " + test.failures.length) - if (test.failures.length > 0) { - throw new Error(test.failures.length + " tests did not pass.") - } + + if (test.failures.length > 0) { + throw new Error(test.failures.length + " tests did not pass.") + } }