Fix io.readfile erroring when running tests

This commit is contained in:
Aleksi Juvani 2017-08-02 12:57:15 +03:00
parent 8eaecd1278
commit 8046b030d6

View File

@ -232,6 +232,8 @@
m.value_openedfilename = fname m.value_openedfilename = fname
m.value_openedfilemode = mode m.value_openedfilemode = mode
return { return {
read = function()
end,
close = function() close = function()
m.value_closedfile = true m.value_closedfile = true
end end