Skip to content

Commit dcf050f

Browse files
Merge pull request ruby-git#132 from arnvald/test-branch-create-does-not-switch-branch
additional test for branch#create method
2 parents 69ad1ce + a87ee1a commit dcf050f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/units/test_branch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def test_branch_create_and_switch
5454
Dir.chdir('branch_test') do
5555
assert(!g.branch('new_branch').current)
5656
g.branch('other_branch').create
57+
assert(!g.branch('other_branch').current)
5758
g.branch('new_branch').checkout
5859
assert(g.branch('new_branch').current)
5960

0 commit comments

Comments
 (0)