aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-02-11 19:50:58 +0000
committerMatthew Wild <mwild1@gmail.com>2009-02-11 19:50:58 +0000
commit8de56897318cd0fd3da3e0fd69b7a399ef48c020 (patch)
tree46e7ff0cbf69bbc8f2e25956cbf5dde092823e66 /tests
parent2f8d4df4b39748e7a238f80e8441cc6e4e1195c1 (diff)
downloadprosody-8de56897318cd0fd3da3e0fd69b7a399ef48c020.tar.gz
prosody-8de56897318cd0fd3da3e0fd69b7a399ef48c020.zip
Small fix to change verbosity level of subtests
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 4d5fe3e8..3b994314 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -163,7 +163,7 @@ function runtest(f, msg)
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