t5505-remote.sh: check the behavior without a subcommand
commit31a66c196435d12e9562ce89da8646016ec8b1e7
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 19 Aug 2022 16:03:54 +0000 (19 18:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 18:13:13 +0000 (19 11:13 -0700)
treed343d60ff60f75ecc07e8139a9b4060eadaa2a94
parent9e4658d5c6917b926a299a55ff8b18ca256e301c
t5505-remote.sh: check the behavior without a subcommand

'git remote' without a subcommand defaults to listing all remotes and
doesn't accept any arguments except the '-v|--verbose' option.

We are about to teach parse-options to handle subcommands, and update
'git remote' to make use of that new feature.  So let's add some tests
to make sure that the upcoming changes don't inadvertently change the
behavior in these cases.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5505-remote.sh