Skip to content

Commit

Permalink
Distinguish branches by more than case in tests.
Browse files Browse the repository at this point in the history
The renaming without config test changed a branch from q to Q, which
fails on non-case sensitive file systems.  Change the test to use q
and q2.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Brian Gernhardt authored and Junio C Hamano committed Apr 6, 2007
1 parent a925b89 commit 08b984f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/t3200-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ test_expect_failure \

mv .git/config .git/config-saved

test_expect_success 'git branch -m q Q without config should succeed' '
git-branch -m q Q &&
git-branch -m Q q
test_expect_success 'git branch -m q q2 without config should succeed' '
git-branch -m q q2 &&
git-branch -m q2 q
'

mv .git/config-saved .git/config
Expand Down

0 comments on commit 08b984f

Please sign in to comment.