[PATCH 1/4] test: correct comparison order in T380

Subject: [PATCH 1/4] test: correct comparison order in T380

Date: Wed, 9 Feb 2022 12:52:33 +0100

To: notmuch@notmuchmail.org


From: Michael J Gruber

Specifying test comparisons as "expected actual" gives a better readable
diff since the "-" indicates missing, "+" additional items compared to
the expectations.

Signed-off-by: Michael J Gruber <git@grubix.eu>
 test/T380-atomicity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh
index afe49d93..a6f1e037 100755
--- a/test/T380-atomicity.sh
+++ b/test/T380-atomicity.sh
@@ -93,7 +93,7 @@ if test_require_external_prereq gdb; then
 test_begin_subtest '"notmuch new" is idempotent under arbitrary aborts'
-test_expect_equal_file searchall expectall
+test_expect_equal_file expectall searchall
 test_begin_subtest "detected $outcount>10 abort points"
 test_expect_success "test $outcount -gt 10"

notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org