Skip to content

test: cover linker's write and refusal paths - #15

Merged
llbbl merged 1 commit into
mainfrom
test/linker-coverage
Oct 18, 2026
Merged

llbbl merged 1 commit into
mainfrom
test/linker-coverage

Conversation

@llbbl

@llbbl llbbl commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Covers internal/linker's atomic write, symlink and exclude-file paths and its refusal branches.
  • Refusal tests assert no file is replaced, no stray temp file is left, and no duplicate exclude line is written.
  • Raises the linker coverage floor from 79.0 to 94.9.

Verification

just check passes; every new test was confirmed to fail when its guarded line is broken.

Closes #11

Adds tests for internal/linker's atomic write, symlink and exclude-file paths and its refusals, asserting refused writes leave the filesystem untouched. Coverage 79.0% → 94.9%; the package floor is raised to match.
@llbbl
llbbl merged commit 3e596a6 into main Oct 18, 2026
2 checks passed
@llbbl
llbbl deleted the test/linker-coverage branch October 18, 2026 13:15
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.

test: cover linker's write and refusal paths

1 participant