typos in tests :(

This commit is contained in:
Robin Wellner 2016-02-15 15:16:14 +01:00
parent 92815b33e3
commit 071da607d0

View File

@ -149,9 +149,9 @@ describe("bitser", function()
bitser.unregister("temp_resource_or_whatever") bitser.unregister("temp_resource_or_whatever")
end) end)
it("cannot serialize functions", function() it("cannot serialize functions", function()
assert.haserror(function() bitser.dumps(function() end), "cannot serialize type function") assert.haserror(function() bitser.dumps(function() end) end, "cannot serialize type function")
end) end)
it("cannot serialize unsupported class libraries without explicit deserializer", function() it("cannot serialize unsupported class libraries without explicit deserializer", function()
assert.haserror(function() bitser.registerClass('Horse', {mane = 'majestic'}), "no deserializer given for unsupported class library") assert.haserror(function() bitser.registerClass('Horse', {mane = 'majestic'}) end, "no deserializer given for unsupported class library")
end) end)
end) end)