summaryrefslogtreecommitdiff
path: root/t/t5706-clone-branch.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5706-clone-branch.sh')
-rwxr-xr-xt/t5706-clone-branch.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/t5706-clone-branch.sh b/t/t5706-clone-branch.sh
index f3f9a76056..56be67e07e 100755
--- a/t/t5706-clone-branch.sh
+++ b/t/t5706-clone-branch.sh
@@ -57,12 +57,8 @@ test_expect_success 'clone -b does not munge remotes/origin/HEAD' '
)
'
-test_expect_success 'clone -b with bogus branch chooses HEAD' '
- git clone -b bogus parent clone-bogus &&
- (cd clone-bogus &&
- check_HEAD master &&
- check_file one
- )
+test_expect_success 'clone -b with bogus branch' '
+ test_must_fail git clone -b bogus parent clone-bogus
'
test_done