Skip to content

Commit

Permalink
Sets correct methodname
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Markiewka <[email protected]>
  • Loading branch information
pmarkiewka committed May 4, 2020
1 parent b76a4aa commit 56bc65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/cloudogu/ces/cesbuildlib/GitTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class GitTest {
void switchBranch() {
ScriptMock scriptMock = new ScriptMock()
Git git = new Git(scriptMock)
git.switchBranch("master")
git.checkoutOrCreate("master")

assert scriptMock.actualShStringArgs[0] == "git checkout -B master"
}
Expand Down

0 comments on commit 56bc65d

Please sign in to comment.