Skip to content

Commit

Permalink
Test for feature branches with dash
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorriegler committed Mar 4, 2023
1 parent 2fc2b88 commit 1253ab1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,17 @@ func TestStartNextFeatureBranch(t *testing.T) {
assertNoMobSessionBranches(t, configuration, "mob-session")
}

func TestStartDoneFeatureBranchWithDash(t *testing.T) {
_, configuration := setup(t)
git("checkout", "-b", "feat/load_test_DLC-253")
git("push", "origin", "feat/load_test_DLC-253", "--set-upstream")
start(configuration)
createFile(t, "file1.txt", "contentIrrelevant")
done(configuration)

assertNoMobSessionBranches(t, configuration, "mob/feat/load_test_DLC-253")
}

func TestGitRootDir(t *testing.T) {
setup(t)
expectedPath, _ := filepath.EvalSymlinks(tempDir + "/local")
Expand Down

0 comments on commit 1253ab1

Please sign in to comment.