diff options
Diffstat (limited to 'testes/all.lua')
-rw-r--r-- | testes/all.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testes/all.lua b/testes/all.lua index bf27f106..5d698d4b 100644 --- a/testes/all.lua +++ b/testes/all.lua | |||
@@ -209,6 +209,10 @@ if #msgs > 0 then | |||
209 | warn("#tests not performed:\n ", m, "\n") | 209 | warn("#tests not performed:\n ", m, "\n") |
210 | end | 210 | end |
211 | 211 | ||
212 | warn("@off") | ||
213 | warn("******** THIS WARNING SHOULD NOT APPEAR **********") | ||
214 | warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********") | ||
215 | warn("@on") | ||
212 | print("(there should be two warnings now)") | 216 | print("(there should be two warnings now)") |
213 | warn("#This is ", "an expected", " warning") | 217 | warn("#This is ", "an expected", " warning") |
214 | warn("#This is", " another one") | 218 | warn("#This is", " another one") |