]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3200-branch.sh
branch test: fix invalid config key access
authorSahil Dua <sahildua2305@gmail.com>
Sun, 28 May 2017 17:12:16 +0000 (19:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 May 2017 04:18:43 +0000 (13:18 +0900)
commitb8f354f294185eac98bb6978f9f92ba11932558b
tree4487dcb1b916c9db98b7f458db3c6182ac011d17
parent840ed141983718e0c5518a325534a5656797132a
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>
t/t3200-branch.sh