Skip to content

Commit c118aa0

Browse files
committed
GITHUB_BASE_REF
1 parent 2417340 commit c118aa0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/gitsemver_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ func Test_VersionStringer_GetBranch(t *testing.T) {
143143
git.branch = ""
144144

145145
git.branch = "detached"
146-
env["GITHUB_BASE_REF"] = "main"
146+
env["GITHUB_BASE_REF"] = "foobranch"
147147
name = vs.GetBranch(".")
148-
isEqual(t, "main", name)
148+
isEqual(t, "foobranch", name)
149149
delete(env, "GITHUB_BASE_REF")
150150
git.branch = ""
151151

0 commit comments

Comments
 (0)