On Thu, May 30 2019, Daniel Kahn Gillmor <[email protected]> wrote:
> Yes, it does fix notmuch reply as well.  Do you think that we should
> augment the test suite to include 'notmuch reply' too?

I mean, more tests don't hurt, but I don't see it as critical.  I think
it could be as simple as (please verify):

test_begin_subtest "reply 'Mixed-Up' mangled PGP/MIME message"
output=$(notmuch reply --format=json --decrypt 
id:[email protected])
test_json_nodes <<<"$output" \
                'body:["original"]["body"][0]["content"][1]["content"]="The 
password is \"abcd1234!\", please do not tell anyone.\n"'
_______________________________________________
notmuch mailing list
[email protected]
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to