aboutsummaryrefslogtreecommitdiff
path: root/internal/engine/engine_test.go
Commit message (Collapse)AuthorAgeFilesLines
* check refuses placeholders that could never expandLukasz Kasprzak4 days1-0/+38
|
* (matched) is unknown after an undecided rule, so a catch-all leaves an ↵Lukasz Kasprzak5 days1-1/+1
| | | | unreadable file alone
* krino: 0.0.5 — keyword cache, t and d in reviewv0.0.5Lukasz Kasprzak5 days1-17/+16
|
* krino: duplicates are found, never deletedLukasz Kasprzak6 days1-0/+44
| | | | | | | | | A rule combining (duplicate) with a delete action is refused at load, and a file that is a duplicate under any duplicate scope its directory uses gets no delete step from any rule: the plan shows it skipped and the chain continues. A failed duplicate check blocks the delete too. Tests cover (matched), another rule's own condition, a test evaluation skipped, two scopes and a failed check, each checking every copy is still on disk.
* krino: planning — chains, placeholders, conflicts, JSONLukasz Kasprzak7 days1-0/+49
|
* krino: matching — scan, ignore, conditions, extraction, duplicates, ↵Lukasz Kasprzak8 days1-0/+166
explain, dry run