X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1300-repo-config.sh;h=cce601f0a63ae64ae795a815031623a776d89931;hb=008e3cc5d781273053c79d1ccf8cc3bf36086a07;hp=d0e55465ff08698376f5d9fa86357d51bd57458c;hpb=9b5a272e7252332b3a1d6fef54df7626c9eef9c5;p=git.git diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index d0e55465f..cce601f0a 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' \