]> git.notmuchmail.org Git - notmuch/commitdiff
test: add test_expect_equal_file_nonempty
authorDavid Bremner <david@tethera.net>
Wed, 4 Aug 2021 10:42:32 +0000 (07:42 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 21 Aug 2021 21:55:41 +0000 (14:55 -0700)
A common bug in tests is that the code used to generate the EXPECTED
file fails, generating no output. When the code generating the OUTPUT
file fails in the same way, the test passes, even though there is a
failure being hidden. Add a new test function that guards against
this.


No differences found