diff --git a/models/repo_test.go b/models/repo_test.go index 9ab27ba61..954f4db3b 100644 --- a/models/repo_test.go +++ b/models/repo_test.go @@ -1,11 +1,11 @@ package models_test import ( - . "github.com/go-gitea/gitea/models" - . "github.com/smartystreets/goconvey/convey" "testing" + . "github.com/go-gitea/gitea/models" "github.com/go-gitea/gitea/modules/markdown" + . "github.com/smartystreets/goconvey/convey" ) func TestRepo(t *testing.T) { diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go index 9de8f11dc..0246e2a7e 100644 --- a/modules/markdown/markdown_test.go +++ b/modules/markdown/markdown_test.go @@ -1,13 +1,13 @@ package markdown_test import ( - . "github.com/go-gitea/gitea/modules/markdown" - . "github.com/smartystreets/goconvey/convey" + "bytes" "testing" - "bytes" + . "github.com/go-gitea/gitea/modules/markdown" "github.com/go-gitea/gitea/modules/setting" "github.com/russross/blackfriday" + . "github.com/smartystreets/goconvey/convey" ) func TestMarkdown(t *testing.T) { diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 102d758dd..c2e4f43a1 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -22,8 +22,8 @@ import ( _ "github.com/go-macaron/cache/redis" "github.com/go-macaron/session" _ "github.com/go-macaron/session/redis" - "strk.kbt.io/projects/go/libravatar" "gopkg.in/ini.v1" + "strk.kbt.io/projects/go/libravatar" "github.com/go-gitea/gitea/modules/bindata" "github.com/go-gitea/gitea/modules/log"