Re: [PATCH v3 8/8] help: add tests for subcommand autocorrection
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 11, 2026, 04:23 UTC
- Message-ID
- <xmqqy0jzq9js.fsf@gitster.g>
- In-Reply-To
- <SY0P300MB080107A9E22F2C0959290BB0CE46A@SY0P300MB0801.AUSP300.PROD.OUTLOOK.COM>
Jiamu Sun <39@barroit.sh> writes:
Show 12 quoted lines
> These tests cover default behavior (help.autocorrect is unset), no > correction, immediate correction, delayed correction, and rejection > when the typo is too dissimilar. > > Signed-off-by: Jiamu Sun <39@barroit.sh> > --- > Changes in v3: > - Fix coding style issue > > t/t9004-autocorrect-subcommand.sh | 51 +++++++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100755 t/t9004-autocorrect-subcommand.sh
t/meson.build needs to be told about this file, or you'll break CI, like this:
https://github.com/git/git/actions/runs/22929006339/job/66546202060