mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-02-17 23:53:15 +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\",
|
\"tags\": [\"inbox\",
|
||||||
\"unread\"]}]"
|
\"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
|
test_done
|
||||||
|
|
Loading…
Add table
Reference in a new issue