Fix Slither test

Slither no longer requires class.private.
This commit is contained in:
Jasmijn Wellner 2020-12-26 15:20:06 +01:00
parent c08f169e91
commit 66042a5b09

View File

@ -156,7 +156,7 @@ describe("bitser", function()
end)
it("serializes Slither instances", function()
local class = require("slither")
local Horse = class.private 'Horse' {
local Horse = class 'Horse' {
__attributes__ = {bitser.registerClass},
__init__ = function(self, name)
self.name = name