diff options
Diffstat (limited to 'testes/files.lua')
-rw-r--r-- | testes/files.lua | 2 |
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 | ||
75 | os.remove(file) | 75 | os.remove(file) |
76 | assert(not loadfile(file)) | 76 | assert(not loadfile(file)) |
77 | -- Lua code cannot use chunks with fixed buffers | ||
78 | checkerr("invalid mode", load, "", "", "B") | ||
77 | checkerr("", dofile, file) | 79 | checkerr("", dofile, file) |
78 | assert(not io.open(file)) | 80 | assert(not io.open(file)) |
79 | io.output(file) | 81 | io.output(file) |