1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-17 01:42:37 +02:00

chore: combile similar type params (#993)

This commit is contained in:
Grachev Mikhail
2019-03-31 20:11:35 +03:00
committed by Carlos Alexandro Becker
parent 7de278535a
commit dfd1e6a662
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ func (c *githubClient) CreateFile(
commitAuthor config.CommitAuthor,
repo config.Repo,
content bytes.Buffer,
path string,
path,
message string,
) error {
options := &github.RepositoryContentFileOptions{

View File

@ -42,7 +42,7 @@ func testMethod(t *testing.T, r *http.Request, want string) {
}
}
func testHeader(t *testing.T, r *http.Request, header string, want string) {
func testHeader(t *testing.T, r *http.Request, header, want string) {
if got := r.Header.Get(header); got != want {
t.Errorf("Header.Get(%q) returned %q, want %q", header, got, want)
}

View File

@ -42,7 +42,7 @@ func testMethod(t *testing.T, r *http.Request, want string) {
}
}
func testHeader(t *testing.T, r *http.Request, header string, want string) {
func testHeader(t *testing.T, r *http.Request, header, want string) {
if got := r.Header.Get(header); got != want {
t.Errorf("Header.Get(%q) returned %q, want %q", header, got, want)
}