mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:39:42 +00:00
Enhance test coverage for `isCleanableDir` and add new tests for `isHandledByMoClean` in `cmd/analyze/analyze_test.go`. `TestIsHandledByMoClean` (new, 12 test cases): - Paths `mo clean` handles (caches, logs, saved state, trash, reports) - Paths `mo clean` does NOT handle (project dirs, home, random) - Case sensitivity verification `TestIsCleanableDir` (expanded from 3 to 24 test cases): - Project dependencies (`node_modules`, `venv`, `pycache`, `build`, etc.) - Xcode/iOS directories (DerivedData, Pods) - Build outputs (dist, target, .next, coverage) - Paths excluded because `mo clean` handles them - Edge cases (empty string, root path, just basename)