about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-17 19:32:01 -0500
committerEric Wong <e@80x24.org>2018-07-18 10:24:21 +0000
commit90577102f4eabdf57b570457062de07398b72415 (patch)
tree4a286a97312137c5e43f7b87b5a78eef3e89d75f /t
parentca62a98e2d8f56767bedc09d1cc29ce49d427d64 (diff)
downloadpublic-inbox-90577102f4eabdf57b570457062de07398b72415.tar.gz
Previously if a minmax test failed it would say it was expecting the
incorrect value, which is confusing when looking into why the test
fails.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 't')
-rw-r--r--t/v2reindex.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t
index 5bc307f1..8af30991 100644
--- a/t/v2reindex.t
+++ b/t/v2reindex.t
@@ -63,7 +63,7 @@ $im->done;
 ok(-d $xap, 'Xapian directories recreated');
 
 delete $ibx->{mm};
-is_deeply($minmax, [ $ibx->mm->minmax ], 'minmax unchanged');
+is_deeply([ $ibx->mm->minmax ], $minmax, 'minmax unchanged');
 
 ok(unlink "$mainrepo/msgmap.sqlite3", 'remove msgmap');
 remove_tree($xap);
@@ -77,7 +77,7 @@ ok(!-d $xap, 'Xapian directories removed again');
         $im->done;
         ok(-d $xap, 'Xapian directories recreated');
         delete $ibx->{mm};
-        is_deeply($minmax, [ $ibx->mm->minmax ], 'minmax unchanged');
+        is_deeply([ $ibx->mm->minmax ], $minmax, 'minmax unchanged');
 }
 
 ok(unlink "$mainrepo/msgmap.sqlite3", 'remove msgmap');
@@ -92,7 +92,7 @@ ok(!-d $xap, 'Xapian directories removed again');
         $im->done;
         ok(-d $xap, 'Xapian directories recreated');
         delete $ibx->{mm};
-        is_deeply($minmax, [ $ibx->mm->minmax ], 'minmax unchanged');
+        is_deeply([ $ibx->mm->minmax ], $minmax, 'minmax unchanged');
 }
 
 done_testing();