]> git.ipfire.org Git - thirdparty/git.git/commit
tests: assert *.txt SYNOPSIS and -h output
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 13 Oct 2022 15:38:55 +0000 (17:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 16:32:54 +0000 (09:32 -0700)
commite5e6667b489badf6f2a3ae1d2bdc021c8060657c
tree98323ebd3585acd215d8a2d6d7f13d6cfddc72bd
parent79f2338b3746d23454308648b2491e5beba4beff
tests: assert *.txt SYNOPSIS and -h output

Add a test to assert basic compliance with the CodingGuidelines in the
SYNOPSIS and builtin -h output. For now we only assert that the "-h"
output doesn't have "\t" characters, as a very basic syntax check.

Subsequent commits will expand on the checks here as various issues
are fixed, but let's first add the test scaffolding.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0450-txt-doc-vs-help.sh [new file with mode: 0755]