Return true in mock write so asserts work

This commit is contained in:
Robin Wellner 2018-02-20 15:24:17 +01:00 committed by GitHub
parent 65107f15c0
commit dd3034117f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ _G.love = {filesystem = {newFileData = function()
end} end}
end, write = function(_, s) end, write = function(_, s)
love.s = s love.s = s
return true
end}} end}}
local bitser = require 'bitser' local bitser = require 'bitser'