Skip to content

Commit 1c016a9

Browse files
test: add missing slash to base url
1 parent 58b334c commit 1c016a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semrel_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func getNewTestRepo(t *testing.T) (*Repository, *httptest.Server) {
101101
return nil, nil
102102
}
103103
ts := httptest.NewServer(http.HandlerFunc(githubHandler))
104-
repo.Client.BaseURL, _ = url.Parse(ts.URL)
104+
repo.Client.BaseURL, _ = url.Parse(ts.URL + "/")
105105
return repo, ts
106106
}
107107

0 commit comments

Comments
 (0)