diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-12-15 22:17:27 -0500 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-16 17:21:49 -0400 |
commit | e723e21f75ed1f7c18de015f3913cb25d1b19f46 (patch) | |
tree | 84090aebe74a305871f88314e14d8a712fa44995 | |
parent | f6adf6615c51d878a61b1f37afb4c501ba31e4de (diff) |
test: Sanity tests for the --format-version argument
-rwxr-xr-x | test/json | 6 |
1 files changed, 6 insertions, 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 |