summaryrefslogtreecommitdiffstats
path: root/models/models_test.go
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-02-14 10:12:03 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-14 10:12:03 +0800
commit1ec6b1a2589509ac855ec12b4f79e70ef0ee4f66 (patch)
tree0caa54a216290a68a8ebab13d80a5f0a936845d5 /models/models_test.go
parentdc8248f8a49e4801e119008a32b28cd2ad6e1a57 (diff)
downloadgitea-1ec6b1a2589509ac855ec12b4f79e70ef0ee4f66.tar.gz
gitea-1ec6b1a2589509ac855ec12b4f79e70ef0ee4f66.zip
fix: gofmt error. (#918)
Diffstat (limited to 'models/models_test.go')
-rw-r--r--models/models_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models_test.go b/models/models_test.go
index 9bf32f81fa..01d723182a 100644
--- a/models/models_test.go
+++ b/models/models_test.go
@@ -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)