From: Stefan Naewe Date: Wed, 2 Nov 2011 15:07:05 +0000 (+0100) Subject: t3200: add test case for 'branch -m' X-Git-Tag: v1.7.8-rc1~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db85b3a74fd1c50f007c198e4dc7265fdc1f2749;p=git.git t3200: add test case for 'branch -m' Signed-off-by: Stefan Naewe Signed-off-by: Junio C Hamano --- diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 2f5eada0d..bc73c2099 100755 --- 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 &&