Hopefully fix coverage

This commit is contained in:
Robin Wellner 2016-02-23 14:47:16 +01:00
parent 4989dbf403
commit 2ad9e981bd

View File

@ -210,7 +210,8 @@ describe("bitser", function()
it("can clear the buffer", function()
bitser.clearBuffer()
end)
it("can write after reading from read-only buffer", function()
it("can write to new buffer after reading from read-only buffer", function()
test_serdeser("bitser")
bitser.loadData(ffi.new("uint8_t[4]", 195, 103, 118, 120), 4)
test_serdeser("bitser")
end)