t1405: check for_each_reflog_ent_reverse() more thoroughly

If we are checking for a certain ordering, we should check that there are two entries. Do this by mirroring the preceding test. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Han-Wen Nienhuys committed Dec 2, 2021 at 17:36 UTC 6887f69faa11141c20be29d2fd51bb33e15e227a
1 file changed +1
t/t1405-main-ref-store.sh
+1
@@ -94,6 +94,7 @@ test_expect_success 'for_each_reflog_ent()' '
94
95 test_expect_success 'for_each_reflog_ent_reverse()' '
96 $RUN for-each-reflog-ent-reverse HEAD >actual &&
97 + head -n1 actual | grep recreate-main &&
98 tail -n1 actual | grep one
99 '
100