aboutsummaryrefslogtreecommitdiffstats
path: root/mail-organize
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-12 11:40:27 +0200
committerDanilo M. <danix@danix.xyz>2026-08-12 11:40:27 +0200
commitf2feb50773b945aafed896b7d75e66035315aa5b (patch)
tree0d41cd7ab1c5a7f27e270ae50354170bba56dfc0 /mail-organize
parent7ecd9056f7b0f8261b44f7865f45749fbceb5d39 (diff)
downloadmailctl-f2feb50773b945aafed896b7d75e66035315aa5b.tar.gz
mailctl-f2feb50773b945aafed896b7d75e66035315aa5b.zip
test(rules): verify the hook against a throwaway database
Covers what unit tests cannot: that a rule tags only what it matches, that stage order decides what a later rule can see, that a failed rule leaves tag:new in place, that a disjunction stays inside its scope, and that a rule removing a protected tag is skipped whole while the run continues and still consumes the marker. Three of those were confirmed to fail against a deliberately broken implementation: unparenthesised scoping, a guard that stripped only the protected removals, and a guard that aborted the run.
Diffstat (limited to 'mail-organize')
0 files changed, 0 insertions, 0 deletions