]> git.notmuchmail.org Git - notmuch/blobdiff - test/T350-crypto.sh
test/crypto: remove headers more robustly
[notmuch] / test / T350-crypto.sh
index 7dab39a2763160dd2dbbc946ce9094ba569b19ae..1d408af71dd7a67575a0993a0f7819d89275657b 100755 (executable)
@@ -394,7 +394,7 @@ test_expect_equal_json \
 
 test_begin_subtest "reply to encrypted message"
 output=$(notmuch reply --decrypt subject:"test encrypted message 002" \
-    | grep -v -e '^In-Reply-To:' -e '^References:')
+    | notmuch_drop_mail_headers In-Reply-To References)
 expected='From: Notmuch Test Suite <test_suite@notmuchmail.org>
 Subject: Re: test encrypted message 002