mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: Sanity tests for the --format-version argument
This commit is contained in:
parent
f6adf6615c
commit
e723e21f75
1 changed files with 6 additions and 0 deletions
|
@ -60,4 +60,10 @@ test_expect_equal_json "$output" "[{\"thread\": \"XXX\",
|
|||
\"tags\": [\"inbox\",
|
||||
\"unread\"]}]"
|
||||
|
||||
test_expect_code 20 "Format version: too low" \
|
||||
"notmuch search --format-version=0 \\*"
|
||||
|
||||
test_expect_code 21 "Format version: too high" \
|
||||
"notmuch search --format-version=999 \\*"
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue