feat: reserve "all" as a keyword and add shared confirmation helper
This commit is contained in:
parent
d73ebdbddd
commit
79e90ed8ce
2 changed files with 41 additions and 0 deletions
|
|
@ -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" ]]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue