Improve tests

This commit is contained in:
Lars Mueller 2021-02-02 23:12:55 +01:00
parent c323443975
commit c00d014041

@ -126,7 +126,7 @@ if tests.b3d then
end end
return table return table
end end
modlib.file.write(modlib.mod.get_resource"character.b3d.lua", "return " .. dump(_b3d_truncate(b3d))) modlib.file.write(modlib.mod.get_resource"character.b3d.lua", "return " .. dump(_b3d_truncate(modlib.table.copy(b3d))))
stream:close() stream:close()
end end
if tests.liquid_dir then if tests.liquid_dir then