]> git.notmuchmail.org Git - notmuch/blobdiff - test/T340-maildir-sync.sh
cli/show: list all filenames of a message in the formatted output
[notmuch] / test / T340-maildir-sync.sh
index 3186e70f56e4c03a3eb45dc85d1fd955f8e59a89..b474bf46e4be4ac6c51f4913d35b4c977bd4726e 100755 (executable)
@@ -2,7 +2,7 @@
 
 test_description="maildir synchronization"
 
-. ./test-lib.sh
+. ./test-lib.sh || exit 1
 
 # Create the expected maildir structure
 mkdir $MAIL_DIR/cur
@@ -39,7 +39,7 @@ output=$(notmuch show --format=json id:${gen_msg_id} | notmuch_json_show_sanitiz
 test_expect_equal_json "$output" '[[[{"id": "XXXXX",
 "match": true,
 "excluded": false,
-"filename": "YYYYY",
+"filename": ["YYYYY"],
 "timestamp": 42,
 "date_relative": "2001-01-05",
 "tags": ["inbox","replied"],