feat: reserve "all" as a keyword and add shared confirmation helper

This commit is contained in:
Lewis Wynne 2026-04-02 18:35:59 +01:00
parent d73ebdbddd
commit 79e90ed8ce
2 changed files with 41 additions and 0 deletions

View file

@ -109,3 +109,10 @@ load test_helper
run_nag untag
[ "${status}" -eq 1 ]
}
@test "tag rejects 'all' as a tag name" {
run_nag at "tomorrow 3pm" "test"
run_nag tag 1 all
[ "${status}" -eq 1 ]
[[ "${output}" =~ "reserved" ]]
}