diff options
| author | Usman Akinyemi <usmanakinyemi202@gmail.com> | 2025-08-08 06:36:51 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-08 07:48:27 -0700 |
| commit | 529a60a885c1f65ff0870f6d69915dd9d02d7ee9 (patch) | |
| tree | 42875056179e1ad3e9f73e018af6b0e189948918 /t/t1517-outside-repo.sh | |
| parent | 18aae638cbb7e6fe148b879c5b4e5ad4e5cc006d (diff) | |
| download | git-529a60a885c1f65ff0870f6d69915dd9d02d7ee9.tar.gz | |
t5304: move `prune -h` test from t1517
t1517 is now focused on testing subcommands outside a repository.
Move the in-repo `-h` test for `prune` to t5304, which covers
this command.
Suggested-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1517-outside-repo.sh')
| -rwxr-xr-x | t/t1517-outside-repo.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/t/t1517-outside-repo.sh b/t/t1517-outside-repo.sh index 4eba3f486d..3dc602872a 100755 --- a/t/t1517-outside-repo.sh +++ b/t/t1517-outside-repo.sh @@ -107,13 +107,6 @@ test_expect_success LIBCURL 'remote-http outside repository' ' test_grep "^error: remote-curl" actual ' -test_expect_success 'prune does not crash with -h' ' - test_expect_code 129 git prune -h >usage && - test_grep "[Uu]sage: git prune " usage && - test_expect_code 129 nongit git prune -h >usage && - test_grep "[Uu]sage: git prune " usage -' - for cmd in $(git --list-cmds=main) do cmd=${cmd%.*} # strip .sh, .perl, etc. |
