Skip to content

Commit

Permalink
fix: gofmt error. (go-gitea#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy authored and lunny committed Feb 14, 2017
1 parent dc8248f commit 1ec6b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (err ErrRepoAlreadyExist) Error() string {

// ErrRepoRedirectNotExist represents a "RepoRedirectNotExist" kind of error.
type ErrRepoRedirectNotExist struct {
OwnerID int64
OwnerID int64
RepoName string
}

Expand Down
2 changes: 1 addition & 1 deletion models/models_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func Test_parsePostgreSQLHostPort(t *testing.T) {
test := func (input, expectedHost, expectedPort string) {
test := func(input, expectedHost, expectedPort string) {
host, port := parsePostgreSQLHostPort(input)
assert.Equal(t, expectedHost, host)
assert.Equal(t, expectedPort, port)
Expand Down

0 comments on commit 1ec6b1a

Please sign in to comment.