Changeset

787:c4a4d5604549

Small fix to change verbosity level of subtests
author Matthew Wild <mwild1@gmail.com>
date Wed, 11 Feb 2009 19:50:58 +0000
parents 786:f2dc6118b3f4
children 788:b85b1dee4f4b
files tests/test.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test.lua	Wed Feb 11 19:35:48 2009 +0000
+++ b/tests/test.lua	Wed Feb 11 19:50:58 2009 +0000
@@ -163,7 +163,7 @@
 	local success, ret = pcall(f);
 	if success and verbosity >= 2 then
 		print("SUBTEST PASSED: "..(msg or "(no description)"));
-	elseif (not success) and verbosity >= 1 then
+	elseif (not success) and verbosity >= 0 then
 		print("SUBTEST FAILED: "..(msg or "(no description)"));
 		error(ret, 0);
 	end