aboutsummaryrefslogtreecommitdiff
path: root/testes/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/files.lua')
-rw-r--r--testes/files.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/testes/files.lua b/testes/files.lua
index 2582406f..4f925f50 100644
--- a/testes/files.lua
+++ b/testes/files.lua
@@ -74,6 +74,8 @@ io.input(io.stdin); io.output(io.stdout);
74 74
75os.remove(file) 75os.remove(file)
76assert(not loadfile(file)) 76assert(not loadfile(file))
77-- Lua code cannot use chunks with fixed buffers
78checkerr("invalid mode", load, "", "", "B")
77checkerr("", dofile, file) 79checkerr("", dofile, file)
78assert(not io.open(file)) 80assert(not io.open(file))
79io.output(file) 81io.output(file)