]> git.notmuchmail.org Git - notmuch/commit
test: use notmuch_json_show_sanitize more places
authorDavid Bremner <david@tethera.net>
Fri, 1 Jul 2022 21:45:40 +0000 (18:45 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 5 Jul 2022 10:01:39 +0000 (07:01 -0300)
commit5f6645bd2a07542902fe9b39b986fdde69a0ebcf
treea44350cf891a80924219048c31d3fefa4e1aa12c
parent3cb936b7c458bc9b0f5cc6d7fb266307fd0224d8
test: use notmuch_json_show_sanitize more places

This makes the tests more robust against changing output formats, by
allowing us to centralize fixes in the sanitization function. It is
not appropriate for all cases, in particular it is unneeded when using
test_json_nodes, and unhelpful when testing filenames.
test/T070-insert.sh
test/T160-json.sh
test/T190-multipart.sh
test/T220-reply.sh