diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-17 19:32:01 -0500 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-07-18 10:24:21 +0000 |
commit | 90577102f4eabdf57b570457062de07398b72415 (patch) | |
tree | 4a286a97312137c5e43f7b87b5a78eef3e89d75f | |
parent | ca62a98e2d8f56767bedc09d1cc29ce49d427d64 (diff) | |
download | public-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>
-rw-r--r-- | t/v2reindex.t | 6 |
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(); |