summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3706ed2)
raw | patch | inline | side by side (parent: 3706ed2)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh | patch | blob | history |
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
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 &&