t1300: add more tests for whitespace and inline comments
commitd71bc1b4a3301b69b83f1363c85c3e07f114c426
authorDragan Simic <dsimic@manjaro.org>
Thu, 21 Mar 2024 06:06:07 +0000 (21 07:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Mar 2024 22:57:10 +0000 (21 15:57 -0700)
tree198be5331bc0f90e4dc34068392f4b42209855e1
parentf0b894443040cb222fbd80d9661cfa7583a9164f
t1300: add more tests for whitespace and inline comments

Add a handful of additional tests, to improve the coverage of the handling
of configuration file entries whose values contain internal whitespace,
leading and/or trailing whitespace, which may or may not be enclosed within
quotation marks, or which contain an additional inline comment.

At the same time, rework one already existing whitespace-related test a bit,
to ensure its consistency with the newly added tests.  This change introduced
no functional changes to the already existing test.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh