Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t3200: add test case for 'branch -m'
author
Stefan Naewe
<stefan.naewe@gmail.com>
Wed, 2 Nov 2011 15:07:05 +0000
(16:07 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 2 Nov 2011 19:36:56 +0000
(12:36 -0700)
Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3706ed2
)
diff --git
a/t/t3200-branch.sh
b/t/t3200-branch.sh
index 2f5eada0d2801c7bc99dbbbed4d7b0ff839f25b7..bc73c2099b5069ab136a1d93aef5a8ab4a0dad1f 100755
(executable)
--- a/
t/t3200-branch.sh
+++ b/
t/t3200-branch.sh
@@
-74,6
+74,11
@@
test_expect_success \
git branch -d l/m &&
git branch l'
+test_expect_success \
+ 'git branch -m dumps usage' \
+ 'test_expect_code 129 git branch -m 2>err &&
+ grep "[Uu]sage: git branch" err'
+
test_expect_success \
'git branch -m m m/m should work' \
'git branch -l m &&