author | Christian Couder <chriscool@tuxfamily.org> | |
Thu, 7 Feb 2008 05:23:46 +0000 (06:23 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 7 Feb 2008 06:48:07 +0000 (22:48 -0800) | ||
commit | 09bc098c2db106469f79eae5e4f6a3bc09c0db12 | |
tree | 58300b15d58b01617aae5e50e3a9753336851b30 | tree | snapshot |
parent | e75201963f6722ad84491c8f17dff8406ec0a198 | commit | diff |
config: add test cases for empty value and no value config variables.
The tests in 't1300-repo-config.sh' did not check what happens when
an empty value like the following is used in the config file:
[emptyvalue]
variable =
Also it was not checked that a variable with no value like the
following:
[novalue]
variable
gives a boolean "true" value, while an ampty value gives a boolean
"false" value.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The tests in 't1300-repo-config.sh' did not check what happens when
an empty value like the following is used in the config file:
[emptyvalue]
variable =
Also it was not checked that a variable with no value like the
following:
[novalue]
variable
gives a boolean "true" value, while an ampty value gives a boolean
"false" value.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-repo-config.sh | diff | blob | history |