"Han-Wen Nienhuys via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: Han-Wen Nienhuys <hanwen@xxxxxxxxxx> > > This fixes a test failure for reftable. > > Signed-off-by: Han-Wen Nienhuys <hanwen@xxxxxxxxxx> > --- > t/t1405-main-ref-store.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/t/t1405-main-ref-store.sh b/t/t1405-main-ref-store.sh > index a237d9880ea..92b04873247 100755 > --- a/t/t1405-main-ref-store.sh > +++ b/t/t1405-main-ref-store.sh > @@ -98,12 +98,12 @@ test_expect_success 'reflog_exists(HEAD)' ' > > test_expect_success 'delete_reflog(HEAD)' ' > $RUN delete-reflog HEAD && > - ! test -f .git/logs/HEAD > + test_must_fail git reflog exists HEAD > ' > > test_expect_success 'create-reflog(HEAD)' ' > $RUN create-reflog HEAD 1 && > - test -f .git/logs/HEAD > + git reflog exists HEAD > ' Obviously more logical. Thanks.