summaryrefslogtreecommitdiff
path: root/t/t1300-repo-config.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-18 04:37:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-18 04:37:12 (GMT)
commite22bb14d8064fe86e956ae500548d4365035f6b2 (patch)
treeff2983ffda5eaedec6d58742bc53bb29ea6380c4 /t/t1300-repo-config.sh
parent3f7d11c45421051a010690c3b9cc28bce98b8c3f (diff)
parent008e3cc5d781273053c79d1ccf8cc3bf36086a07 (diff)
downloadgit-e22bb14d8064fe86e956ae500548d4365035f6b2.zip
git-e22bb14d8064fe86e956ae500548d4365035f6b2.tar.gz
git-e22bb14d8064fe86e956ae500548d4365035f6b2.tar.bz2
Merge branch 'mm/maint-config-explicit-bool-display'
* mm/maint-config-explicit-bool-display: config: display key_delim for config --bool --get-regexp
Diffstat (limited to 't/t1300-repo-config.sh')
-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 3e140c1..dffccf8 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' \