Mercurial > prosody-hg
diff tests/test.lua @ 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 | 90ce865eebd8 |
| children | ce39abe0259a |
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
