mirror of
https://github.com/gvx/bitser.git
synced 2024-11-11 01:44:21 +00:00
Update tests
253 is no longer unassigned
This commit is contained in:
parent
54a3c9e711
commit
f6e78d0c2a
@ -274,7 +274,6 @@ describe("bitser", function()
|
|||||||
assert.has_error(function() bitser.registerClass('Horse', {mane = 'majestic'}) end, "no deserializer given for unsupported class library")
|
assert.has_error(function() bitser.registerClass('Horse', {mane = 'majestic'}) end, "no deserializer given for unsupported class library")
|
||||||
end)
|
end)
|
||||||
it("cannot deserialize values from unassigned type bytes", function()
|
it("cannot deserialize values from unassigned type bytes", function()
|
||||||
assert.has_error(function() bitser.loads("\253") end, "unsupported serialized type 253")
|
|
||||||
assert.has_error(function() bitser.loads("\254") end, "unsupported serialized type 254")
|
assert.has_error(function() bitser.loads("\254") end, "unsupported serialized type 254")
|
||||||
assert.has_error(function() bitser.loads("\255") end, "unsupported serialized type 255")
|
assert.has_error(function() bitser.loads("\255") end, "unsupported serialized type 255")
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user