Fix unpack quickstart docs and hash verification

This commit is contained in:
Samraaj Bath
2026-07-03 13:16:05 -07:00
parent 63df38105d
commit e28cc57c85
7 changed files with 45 additions and 35 deletions
+1
View File
@@ -175,6 +175,7 @@ test("unpack: reports sha256 mismatch as a failure", async () => {
const res = await run(["unpack", "-", out], { stdin: JSON.stringify(doc) });
assert.notEqual(res.code, 0);
assert.match(res.err, /integrity check/);
await assert.rejects(stat(join(out, "a.txt")));
});
});