]> git.notmuchmail.org Git - notmuch/blobdiff - test/multipart
test: pass expected output through json_sanitize in 2 places
[notmuch] / test / multipart
index b40fa2caacb685d57a0a908b84473f12f4f92fd4..85cbf672da89f0c72ffa1b67f597ed47422029b4 100755 (executable)
@@ -594,7 +594,7 @@ test_expect_equal_file OUTPUT EXPECTED
 
 test_begin_subtest "'notmuch reply' to a multipart message with json format"
 notmuch reply --format=json 'id:87liy5ap00.fsf@yoom.home.cworth.org' | notmuch_json_show_sanitize >OUTPUT
-cat <<EOF >EXPECTED
+notmuch_json_show_sanitize <<EOF >EXPECTED
 {"reply-headers": {"Subject": "Re: Multipart message",
  "From": "Notmuch Test Suite <test_suite@notmuchmail.org>",
  "To": "Carl Worth <cworth@cworth.org>, cworth@cworth.org",