diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-15 05:39:18 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-15 05:39:18 +0300 |
commit | 60d64db4614b1007ca37c228923ec1964d5ad394 (patch) | |
tree | d376d7e422b9a6cc51ef9a4b7f90e59f5520247e /t/t3200-branch.sh | |
parent | f7a2eb735982e921ae4379f1dcf5f7a023610393 (diff) | |
parent | d7bba815753bf8c31886fcf6bb89c9e6250674a5 (diff) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3200-branch.sh')
-rwxr-xr-x | t/t3200-branch.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 5f98f64de1..36f7749bed 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -24,4 +24,12 @@ test_expect_failure \ 'git branch --help should not have created a bogus branch' \ 'test -f .git/refs/heads/--help' +test_expect_success \ + 'git branch abc should create a branch' \ + 'git-branch abc && test -f .git/refs/heads/abc' + +test_expect_success \ + 'git branch a/b/c should create a branch' \ + 'git-branch a/b/c && test -f .git/refs/heads/a/b/c' + test_done |