Skip to content

Commit

Permalink
refactored test to be compatible with git 2.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hollesse committed Oct 11, 2024
1 parent 91f02ae commit 61c53ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ func TestMobStartOnWipBranchWithoutCheckedOutBaseBranchWithoutHyphens(t *testing
output, configuration := setup(t)

setWorkingDir(tempDir + "/alice")
git("switch", "-C", "basebranchwithouthyphen")
git("checkout", "-b", "basebranchwithouthyphen")
configuration.StartCreate = true
start(configuration)
assertOnBranch(t, "mob/basebranchwithouthyphen")
Expand All @@ -1897,7 +1897,7 @@ func TestMobStartOnWipBranchWithoutCheckedOutBaseBranchWithoutHyphens(t *testing
assertOnBranch(t, "basebranchwithouthyphen")

setWorkingDir(tempDir + "/bob")
git("switch", "-C", "mob/basebranchwithouthyphen")
git("checkout", "-b", "mob/basebranchwithouthyphen")
configuration.StartCreate = false

assertNoError(t, start(configuration))
Expand Down

0 comments on commit 61c53ca

Please sign in to comment.