Skip to content

Commit

Permalink
fix: use proper target branch name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Dec 20, 2024
1 parent 4c71a1c commit 24f239f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func TestGit_ContributeAttributesForChangeRequests(t *testing.T) {
env map[string]string
}

branchName := "this-is-a-test-branch"
branchName := "feature/this-is-a-test-branch"

tests := []testData{
{
Expand Down Expand Up @@ -393,7 +393,7 @@ func TestGit_ContributeAttributesForBranches(t *testing.T) {
func TestGit_ContributeCommitters(t *testing.T) {
t.Setenv("GITHUB_SHA", "")

branchName := "this-is-a-test-branch"
branchName := "feature/this-is-a-test-branch"

type testData struct {
provider string
Expand Down Expand Up @@ -456,7 +456,7 @@ func TestGit_ContributeCommitters(t *testing.T) {
func TestGit_ContributeFilesAndLines(t *testing.T) {
t.Setenv("GITHUB_SHA", "")

branchName := "this-is-a-test-branch"
branchName := "feature/this-is-a-test-branch"

type testData struct {
provider string
Expand Down Expand Up @@ -521,7 +521,7 @@ func TestGit_ContributeFilesAndLines(t *testing.T) {
func TestGit_CalculateCommitsForChangeRequests(t *testing.T) {
t.Setenv("GITHUB_SHA", "")

branchName := "this-is-a-test-branch"
branchName := "feature/this-is-a-test-branch"

type testData struct {
provider string
Expand Down

0 comments on commit 24f239f

Please sign in to comment.