Skip to content

Commit 85db348

Browse files
Denton-Lgitster
authored andcommitted
t5607: reorder nongit test_must_fail
In the future, we plan on only allowing `test_must_fail` to work on a restricted subset of commands, including `git`. Reorder the commands so that `nongit` comes before `test_must_fail`. This way, `test_must_fail` operates on a git command. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 5a828bc commit 85db348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5607-clone-bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test_expect_success 'setup' '
1616

1717
test_expect_success '"verify" needs a worktree' '
1818
git bundle create tip.bundle -1 master &&
19-
test_must_fail nongit git bundle verify ../tip.bundle 2>err &&
19+
nongit test_must_fail git bundle verify ../tip.bundle 2>err &&
2020
test_i18ngrep "need a repository" err
2121
'
2222

0 commit comments

Comments
 (0)