Skip to content

Commit 674cddf

Browse files
committed
fix: remove double // from expected branch name
1 parent ef5a16e commit 674cddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libevm/tooling/release/release_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func TestBranchProperties(t *testing.T) {
168168
// `targetBranch` itself, or at a candidate (i.e. PR source) for said branch.
169169
func testReleaseBranch(t *testing.T, targetBranch string) {
170170
t.Run("branch_name", func(t *testing.T) {
171-
want := fmt.Sprintf("%s/v%s", releaseBranchPrefix, params.LibEVMVersion)
171+
want := fmt.Sprintf("%sv%s", releaseBranchPrefix, params.LibEVMVersion) // prefix already includes /
172172
assert.Equal(t, want, targetBranch)
173173

174174
if rt := params.LibEVMReleaseType; !rt.ForReleaseBranch() {

0 commit comments

Comments
 (0)