mirror of
https://github.com/gvx/bitser.git
synced 2024-11-24 06:54:20 +00:00
typos in tests :(
This commit is contained in:
parent
92815b33e3
commit
071da607d0
@ -149,9 +149,9 @@ describe("bitser", function()
|
||||
bitser.unregister("temp_resource_or_whatever")
|
||||
end)
|
||||
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)
|
||||
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)
|
Loading…
Reference in New Issue
Block a user