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>

Sahil Dua committed May 28, 2017 at 19:12 UTC b8f354f294185eac98bb6978f9f92ba11932558b
1 file changed +1 -1
t/t3200-branch.sh
+1 -1
@@ -307,7 +307,7 @@ test_expect_success 'git branch -m s/s s should work when s/t is deleted' '
307
308 test_expect_success 'config information was renamed, too' '
309 test $(git config branch.s.dummy) = Hello &&
310 - test_must_fail git config branch.s/s/dummy
310 + test_must_fail git config branch.s/s.dummy
311 '
312
313 test_expect_success 'deleting a symref' '