Skip to content

Add ZIP64 record and boundary regression tests - #229

Open
Sinkleberg wants to merge 1 commit into
archiverjs:masterfrom
Sinkleberg:codex/zip64-boundary-tests
Open

Sinkleberg wants to merge 1 commit into
archiverjs:masterfrom
Sinkleberg:codex/zip64-boundary-tests

Conversation

@Sinkleberg

Copy link
Copy Markdown

Adds 14 ZIP64 tests for #29: ordinary and forced ZIP64 archives, the 65,535-entry boundary, and 64-bit sizes/offsets. The tests inspect record bytes independently and check decompressed content; production code is unchanged.

npm test: 56 passing, with the same 20 pending tests as the baseline. Formatting passes. Local Python zipfile checks read all seven generated archives successfully, and four controlled writer mutations are caught by the new tests.

Large sizes are tested as serialization units, not actual multi-gigabyte streams. Tested on Linux/Node 24. Codex assisted with the tests and review.

Signed-off-by: Brad <1676751+Sinkleberg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant