X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft1300-repo-config.sh;h=028d15956bb4c18a6adf5d91b934ae060608ecbb;hb=d14f776402d9f7040cc71ff6e3b992b2e019526a;hp=ab4dd5c4ce14c496e1239a0013952c4c422a6a50;hpb=ce18135d862b5dbc731d203b27c279529e58b54b;p=git.git diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index ab4dd5c4..028d1595 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -229,7 +229,7 @@ test_expect_failure 'invalid key' 'git-repo-config inval.2key blabla' test_expect_success 'correct key' 'git-repo-config 123456.a123 987' test_expect_success 'hierarchical section' \ - 'git-repo-config 1.2.3.alpha beta' + 'git-repo-config Version.1.2.3eX.Alpha beta' cat > expect << EOF [beta] ; silly comment # another comment @@ -241,8 +241,8 @@ noIndent= sillyValue ; 'nother silly comment NoNewLine = wow2 for me [123456] a123 = 987 -[1.2.3] - alpha = beta +[Version "1.2.3eX"] + Alpha = beta EOF test_expect_success 'hierarchical section value' 'cmp .git/config expect'