Skip to content

Commit 9fd1080

Browse files
newrengitster
authored andcommitted
t7406: avoid using test_must_fail for commands other than git
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7e9055b commit 9fd1080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7406-submodule-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ test_expect_success 'submodule update - update=none in .git/config but --checkou
606606
git diff --name-only >out &&
607607
! grep ^submodule$ out &&
608608
(cd submodule &&
609-
test_must_fail compare_head
609+
! compare_head
610610
) &&
611611
git config --unset submodule.submodule.update
612612
)

0 commit comments

Comments
 (0)