diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-08-16 09:51:54 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-08-16 09:51:54 -0300 |
| commit | ca13be9af784b7288d3a07d9b5bccb329086e885 (patch) | |
| tree | c027419f98064d681518a4130439920a13a11b06 /testes/all.lua | |
| parent | a1d8eb27431c02c4529be1efd92143ad65434f3a (diff) | |
| download | lua-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.lua | 4 |
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") |
| 210 | end | 210 | end |
| 211 | 211 | ||
| 212 | print("(there should be two warnings now)") | ||
| 213 | warn("#This is ", "an expected", " warning") | ||
| 212 | warn("@off") | 214 | warn("@off") |
| 213 | warn("******** THIS WARNING SHOULD NOT APPEAR **********") | 215 | warn("******** THIS WARNING SHOULD NOT APPEAR **********") |
| 214 | warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********") | 216 | warn("******** THIS WARNING ALSO SHOULD NOT APPEAR **********") |
| 215 | warn("@on") | 217 | warn("@on") |
| 216 | print("(there should be two warnings now)") | ||
| 217 | warn("#This is ", "an expected", " warning") | ||
| 218 | warn("#This is", " another one") | 218 | warn("#This is", " another one") |
| 219 | 219 | ||
| 220 | -- no test module should define 'debug' | 220 | -- no test module should define 'debug' |
