mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	fix: gofmt error. (#918)
This commit is contained in:
		@@ -410,7 +410,7 @@ func (err ErrRepoAlreadyExist) Error() string {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// ErrRepoRedirectNotExist represents a "RepoRedirectNotExist" kind of error.
 | 
					// ErrRepoRedirectNotExist represents a "RepoRedirectNotExist" kind of error.
 | 
				
			||||||
type ErrRepoRedirectNotExist struct {
 | 
					type ErrRepoRedirectNotExist struct {
 | 
				
			||||||
	OwnerID int64
 | 
						OwnerID  int64
 | 
				
			||||||
	RepoName string
 | 
						RepoName string
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@ import (
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func Test_parsePostgreSQLHostPort(t *testing.T) {
 | 
					func Test_parsePostgreSQLHostPort(t *testing.T) {
 | 
				
			||||||
	test := func (input, expectedHost, expectedPort string) {
 | 
						test := func(input, expectedHost, expectedPort string) {
 | 
				
			||||||
		host, port := parsePostgreSQLHostPort(input)
 | 
							host, port := parsePostgreSQLHostPort(input)
 | 
				
			||||||
		assert.Equal(t, expectedHost, host)
 | 
							assert.Equal(t, expectedHost, host)
 | 
				
			||||||
		assert.Equal(t, expectedPort, port)
 | 
							assert.Equal(t, expectedPort, port)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user