aboutsummaryrefslogtreecommitdiff
path: root/testes/all.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-08-16 09:51:54 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-08-16 09:51:54 -0300
commitca13be9af784b7288d3a07d9b5bccb329086e885 (patch)
treec027419f98064d681518a4130439920a13a11b06 /testes/all.lua
parenta1d8eb27431c02c4529be1efd92143ad65434f3a (diff)
downloadlua-ca13be9af784b7288d3a07d9b5bccb329086e885.tar.gz
lua-ca13be9af784b7288d3a07d9b5bccb329086e885.tar.bz2
lua-ca13be9af784b7288d3a07d9b5bccb329086e885.zip
Supressed errors in '__close' generate warnings
Diffstat (limited to 'testes/all.lua')
-rw-r--r--testes/all.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/all.lua b/testes/all.lua
index 5d698d4b..42809b9a 100644
--- a/testes/all.lua
+++ b/testes/all.lua
@@ -209,12 +209,12 @@ if #msgs > 0 then
209 warn("#tests not performed:\n ", m, "\n") 209 warn("#tests not performed:\n ", m, "\n")
210end 210end
211 211
212print("(there should be two warnings now)")
213warn("#This is ", "an expected", " warning")
212warn("@off") 214warn("@off")
213warn("******** THIS WARNING SHOULD NOT APPEAR **********") 215warn("******** THIS WARNING SHOULD NOT APPEAR **********")
214warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********") 216warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********")
215warn("@on") 217warn("@on")
216print("(there should be two warnings now)")
217warn("#This is ", "an expected", " warning")
218warn("#This is", " another one") 218warn("#This is", " another one")
219 219
220-- no test module should define 'debug' 220-- no test module should define 'debug'