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, write = function(_, s)
love.s = s
return true
end}}
local bitser = require 'bitser'