feat: inline tests + Fs zero-value fix + coverage 76.9% → 82.3% #27
No reviewers
Labels
No labels
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/go#27
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move all tests from tests/ to package root for proper coverage.
Fix Fs zero-value: path() and validatePath() default empty root
to "/" so &Fs{} works without New().
New tests: PathGlob, PathIsAbs, CleanPath, Cli.SetOutput,
ServiceShutdown, Core.Context, Fs zero-value, Fs protected
delete, Command lifecycle with implementation, error formatting
branches, PerformAsync completion/no-handler/after-shutdown,
Extract with templates, Embed path traversal.
Coverage: 76.9% → 82.3% (23 test files).
Co-Authored-By: Virgil virgil@lethean.io
Move all tests from tests/ to package root for proper coverage. Fix Fs zero-value: path() and validatePath() default empty root to "/" so &Fs{} works without New(). New tests: PathGlob, PathIsAbs, CleanPath, Cli.SetOutput, ServiceShutdown, Core.Context, Fs zero-value, Fs protected delete, Command lifecycle with implementation, error formatting branches, PerformAsync completion/no-handler/after-shutdown, Extract with templates, Embed path traversal. Coverage: 76.9% → 82.3% (23 test files). Co-Authored-By: Virgil <virgil@lethean.io>