summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-21 10:49:24 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-21 10:49:24 -0700
commit634b29d2705af2e05d593b75ade2be64033468a5 (patch)
tree4f24501d02783c804ee76e751cba8057a1b8a8cb /t
parent1844f8d591340bb43e4990c96afd0aba424adf48 (diff)
parent008e3cc5d781273053c79d1ccf8cc3bf36086a07 (diff)
downloadgit-634b29d2705af2e05d593b75ade2be64033468a5.tar.gz
Merge branch 'mm/maint-config-explicit-bool-display' into maint
* mm/maint-config-explicit-bool-display: config: display key_delim for config --bool --get-regexp
Diffstat (limited to 't')
-rwxr-xr-xt/t1300-repo-config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh
index 3e140c18f4..dffccf84f8 100755
--- a/t/t1300-repo-config.sh
+++ b/t/t1300-repo-config.sh
@@ -333,6 +333,12 @@ test_expect_success 'get-regexp variable with no value' \
'git config --get-regexp novalue > output &&
cmp output expect'
+echo 'novalue.variable true' > expect
+
+test_expect_success 'get-regexp --bool variable with no value' \
+ 'git config --bool --get-regexp novalue > output &&
+ cmp output expect'
+
echo 'emptyvalue.variable ' > expect
test_expect_success 'get-regexp variable with empty value' \