aboutsummaryrefslogtreecommitdiff
path: root/testes/all.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/all.lua')
-rw-r--r--testes/all.lua4
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")
210end 210end
211 211
212warn("@off")
213warn("******** THIS WARNING SHOULD NOT APPEAR **********")
214warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********")
215warn("@on")
212print("(there should be two warnings now)") 216print("(there should be two warnings now)")
213warn("#This is ", "an expected", " warning") 217warn("#This is ", "an expected", " warning")
214warn("#This is", " another one") 218warn("#This is", " another one")