You've already forked goreleaser
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:
committed by
Carlos Alexandro Becker
parent
7de278535a
commit
dfd1e6a662
@ -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{
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user