Skip to content

Commit 4e8df1a

Browse files
john-caigitster
authored andcommitted
remove REFFILES prerequisite for some tests in t1405 and t2017
These tests are compatible with the reftable backend and thus do not need the REFFILES prerequisite. Even though 53af25e (t1405: mark test that checks existence as REFFILES, 2022-01-31) and 53af25e (t1405: mark test that checks existence as REFFILES, 2022-01-31) marked these tests to require REFFILES, the reftable backend in its current state does indeed work with these tests. Signed-off-by: John Cai <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 28d4e9f commit 4e8df1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t1405-main-ref-store.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ test_expect_success 'delete_reflog(HEAD)' '
112112
test_must_fail git reflog exists HEAD
113113
'
114114

115-
test_expect_success REFFILES 'create-reflog(HEAD)' '
115+
test_expect_success 'create-reflog(HEAD)' '
116116
$RUN create-reflog HEAD &&
117117
git reflog exists HEAD
118118
'

t/t2017-checkout-orphan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ test_expect_success '--orphan makes reflog by default' '
8686
git rev-parse --verify delta@{0}
8787
'
8888

89-
test_expect_success REFFILES '--orphan does not make reflog when core.logAllRefUpdates = false' '
89+
test_expect_success '--orphan does not make reflog when core.logAllRefUpdates = false' '
9090
git checkout main &&
9191
git config core.logAllRefUpdates false &&
9292
git checkout --orphan epsilon &&

0 commit comments

Comments
 (0)