X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT160-json.sh;h=ac51895e826d260601260d6aae1a55bb90138fa9;hb=b6f87c3085e25e5bf65a4f956af8846bc0681c52;hp=5a954e3baf0d477e26bc570985c768fc7c20a10c;hpb=a34f30888e7874fba2032a066a7babce1dd3f69f;p=notmuch diff --git a/test/T160-json.sh b/test/T160-json.sh index 5a954e3b..ac51895e 100755 --- a/test/T160-json.sh +++ b/test/T160-json.sh @@ -64,11 +64,11 @@ test_expect_equal_json "$output" "[{\"thread\": \"XXX\", \"tags\": [\"inbox\", \"unread\"]}]" -test_expect_code 20 "Format version: too low" \ - "notmuch search --format-version=0 \\*" +test_begin_subtest "Format version: too low" +test_expect_code 20 "notmuch search --format-version=0 \\*" -test_expect_code 21 "Format version: too high" \ - "notmuch search --format-version=999 \\*" +test_begin_subtest "Format version: too high" +test_expect_code 21 "notmuch search --format-version=999 \\*" test_begin_subtest "Show message: multiple filenames" add_message "[id]=message-id@example.com [filename]=copy1"