Commit graph

2 commits

Author SHA1 Message Date
Snider
a2fa841772 fix: CleanPath example + remove duplicate tests
CleanPath existed all along (path.go:118) — earlier grep had a stray
quote that hid it. Example now demonstrates actual behaviour:
redundant separator removal and .. resolution.

Removed duplicate CleanPath_Good test that conflicted with existing.

546 tests, all pass.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 18:34:39 +00:00
Snider
8b905f3a4a feat: per-file example tests — action, registry, fs, api, string, path, service, error, array
33 new examples across 8 dedicated files. Removed phantom CleanPath
(in RFC spec but never implemented — spec drift caught by examples).

545 tests total, 84.8% coverage. Every major primitive has compilable
examples that serve as test, documentation seed, and godoc content.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 18:29:24 +00:00