X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT220-reply.sh;h=50179efc90097875f2f54d6ab2b3139faf77e2c0;hb=5ea5a5557d9ad4cef67e61a83bb81abd44dc7f76;hp=4e9984d2ed12f857f1e5de8999e6e7aae868f9cb;hpb=7556bb7da27621895327b84d22abba2519c24ba7;p=notmuch diff --git a/test/T220-reply.sh b/test/T220-reply.sh index 4e9984d2..50179efc 100755 --- a/test/T220-reply.sh +++ b/test/T220-reply.sh @@ -298,7 +298,8 @@ On Tue, 05 Jan 2010 15:43:56 -0000, ☃ wrote: OK" test_begin_subtest "Reply with RFC 2047-encoded headers (JSON)" -output=$(echo '{"answer":' && notmuch reply --format=json id:${gen_msg_id} 2>&1 && echo ', "success": "OK"}') +output=$(echo '{"answer":' && notmuch reply --format=json id:${gen_msg_id} 2>&1 | notmuch_json_show_sanitize \ + && echo ', "success": "OK"}') test_expect_equal_json "$output" ' { "answer": { "original": { @@ -312,14 +313,14 @@ test_expect_equal_json "$output" ' "crypto": {}, "date_relative": "2010-01-05", "excluded": false, - "filename": ["'${MAIL_DIR}'/msg-015"], + "filename": ["YYYYY"], "headers": { "Date": "Tue, 05 Jan 2010 15:43:56 +0000", "From": "\u2603 ", "Subject": "\u00e0\u00df\u00e7", "To": "Notmuch Test Suite " }, - "id": "'${gen_msg_id}'", + "id": "XXXXX", "match": false, "tags": [ "inbox",