Skip to content

Commit db85b3a

Browse files
snaewegitster
authored andcommitted
t3200: add test case for 'branch -m'
Signed-off-by: Stefan Naewe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3706ed2 commit db85b3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t3200-branch.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ test_expect_success \
7474
git branch -d l/m &&
7575
git branch l'
7676

77+
test_expect_success \
78+
'git branch -m dumps usage' \
79+
'test_expect_code 129 git branch -m 2>err &&
80+
grep "[Uu]sage: git branch" err'
81+
7782
test_expect_success \
7883
'git branch -m m m/m should work' \
7984
'git branch -l m &&

0 commit comments

Comments
 (0)