tests/archive: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:49:50 -05:00
1 parent 54f53a35f6
commit 96602286f8
33 files changed
+34 -226

No files matched your search

+1 -4
View File
@@ -1,6 +1,4 @@
-- shared by tests/archive/{binhex,macbinary,applesingle}.luau: run(name, module) checks the format's cases of
-- tools/fixtures/mac.py against The Unarchiver's listings (fork names, sizes, data CRCs, type / creator), our writer's
-- output read by unar (fixture step), round trips with a resource fork and Finder info, and the fuzz pass.
-- shared by the binhex / macbinary / applesingle tests: tools/fixtures/mac.py cases against The Unarchiver's listings.
local T = require("@tests/T")
local F = require("@rosetta")
local Bytes = require("@rosetta/core/Bytes")
@@ -42,7 +40,6 @@ return function(name: string, mod: any, encodeVariants: { any }): (any, { string
t:check(o.ok, "unar reads our output (" .. o.variant .. "): " .. o.detail)
end
end
-- round trips: Finder info, dates, a resource fork
for _, opts in encodeVariants do
local a = mod.new()
a:add("Caf\u{e9}", "data fork", { mtime = 1700000000 })