зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
5a828bcf1e
Коммит
85db348895
|
@ -16,7 +16,7 @@ test_expect_success 'setup' '
|
||||||
|
|
||||||
test_expect_success '"verify" needs a worktree' '
|
test_expect_success '"verify" needs a worktree' '
|
||||||
git bundle create tip.bundle -1 master &&
|
git bundle create tip.bundle -1 master &&
|
||||||
test_must_fail nongit git bundle verify ../tip.bundle 2>err &&
|
nongit test_must_fail git bundle verify ../tip.bundle 2>err &&
|
||||||
test_i18ngrep "need a repository" err
|
test_i18ngrep "need a repository" err
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче