mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 22:35:26 +03:00
fix: gofmt error. (#918)
This commit is contained in:
parent
dc8248f8a4
commit
1ec6b1a258
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue