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 -5
View File
@@ -1,7 +1,4 @@
-- data/cbor tests: the RFC 8949 Appendix A examples and random items encoded by Python's cbor2 decode to cbor2's
-- values (canonical form), re-encode to the same bytes, big integers as doubles and exact text, indefinite lengths,
-- tags / simple values / undefined, half floats, sequences, options, error codes, and the fuzz pass.
-- Fixtures: tools/fixtures/cbor.py.
-- data/cbor tests: RFC 8949 Appendix A and Python's cbor2 (tools/fixtures/cbor.py).
local T = require("@tests/T")
local Cbor = require("@rosetta/data/cbor")
local Bytes = require("@rosetta/core/Bytes")
@@ -68,7 +65,6 @@ for i, c in Fx.wide do
t:eq(Canon.of(plain(dec(c.data, { bigInts = "string" }))), c.canonStr, "wide " .. i .. ": exact")
end
-- details
do
local function hex(b: buffer): string
return (string.gsub(buffer.tostring(b), ".", function(ch)