tests/data: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:51:09 -05:00
1 parent 653ce4e002
commit 7672980c65
12 files changed
+16 -63

No files matched your search

+1 -4
View File
@@ -1,6 +1,4 @@
-- data/msgpack tests: values packed by Python's msgpack decode to msgpack's own values (canonical form), re-encode to
-- the same bytes, 64-bit integers as doubles and as exact strings, timestamps / ext, streams, options, error codes,
-- and the fuzz pass. Fixtures: tools/fixtures/msgpack.py.
-- data/msgpack tests against Python's msgpack (tools/fixtures/msgpack.py).
local T = require("@tests/T")
local Mp = require("@rosetta/data/msgpack")
local Bytes = require("@rosetta/core/Bytes")
@@ -49,7 +47,6 @@ for i, c in Fx.wide do
t:eq(Canon.of(plain(dec(Mp.encode(v) :: buffer))), c.canon, "wide " .. i .. ": round trip")
end
-- details
do
t:eq(Mp.isExt(dec("\xd4\x05\x07")), true, "fixext1")
local d = dec("\xd6\xff\x00\x00\x00\x00")