diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh index 84191ee68a13d9..377fd0e69bc5ec 100755 --- a/t/t1006-cat-file.sh +++ b/t/t1006-cat-file.sh @@ -603,18 +603,18 @@ test_expect_success FUNNYNAMES '--batch-check, -Z with newline in input' ' test_cmp expect actual ' -test_expect_success FUNNYNAMES 'setup with curly braches in input' ' - git branch "foo{bar" && - git branch "foo@" +test_expect_success 'setup with curly braches in input' ' + git branch "foo{bar" HEAD && + git branch "foo@" HEAD ' -test_expect_success FUNNYNAMES 'object reference with curly brace' ' +test_expect_success 'object reference with curly brace' ' git cat-file -p "foo{bar:hello" >actual && git cat-file -p HEAD:hello >expect && test_cmp expect actual ' -test_expect_success FUNNYNAMES 'object reference with at-sign' ' +test_expect_success 'object reference with at-sign' ' git cat-file -p "foo@@{0}:hello" >actual && git cat-file -p HEAD:hello >expect && test_cmp expect actual