[PATCH] test: make test_expect_equal_file() arguments flexible

David Bremner david at tethera.net
Sat Sep 1 19:38:09 PDT 2012


Dmitry Kurochkin <dmitry.kurochkin at gmail.com> writes:

> Before the change, test_expect_equal_file() function treated the first
> argument as "actual output file" and the second argument as "expected
> output file".  When the test fails, the files are copied for later
> inspection.  The first files was copied to "$testname.output" and the
> second file to "$testname.expected".  The argument order for
> test_expect_equal_file() is often wrong which results in confusing
> diff output and incorrectly named files.

pushed, 

d


More information about the notmuch mailing list