summaryrefslogtreecommitdiff
path: root/t/t3200-branch.sh
diff options
context:
space:
mode:
authorSahil Dua <sahildua2305@gmail.com>2017-05-28 17:12:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-05-29 04:18:43 (GMT)
commitb8f354f294185eac98bb6978f9f92ba11932558b (patch)
tree4487dcb1b916c9db98b7f458db3c6182ac011d17 /t/t3200-branch.sh
parent840ed141983718e0c5518a325534a5656797132a (diff)
downloadgit-b8f354f294185eac98bb6978f9f92ba11932558b.zip
git-b8f354f294185eac98bb6978f9f92ba11932558b.tar.gz
git-b8f354f294185eac98bb6978f9f92ba11932558b.tar.bz2
branch test: fix invalid config key access
Fixes the test by changing "branch.s/s/dummy" to "branch.s/s.dummy" which is the right way of accessing config key "branch.s/s.dummy". Purpose of this test is to confirm that this key doesn't exist after the branch "s/s" has been renamed to "s". Earlier it was trying to access invalid config key and hence was getting an error. However, this wasn't caught because we were expecting the command to fail for other reason as mentioned above. Signed-off-by: Sahil Dua <sahildua2305@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3200-branch.sh')
-rwxr-xr-xt/t3200-branch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 8a833f3..6d355cc 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -307,7 +307,7 @@ test_expect_success 'git branch -m s/s s should work when s/t is deleted' '
test_expect_success 'config information was renamed, too' '
test $(git config branch.s.dummy) = Hello &&
- test_must_fail git config branch.s/s/dummy
+ test_must_fail git config branch.s/s.dummy
'
test_expect_success 'deleting a symref' '