Skip to content

Commit b38b61b

Browse files
ethantkoenigappleboy
authored andcommitted
Fix import order (#1951)
1 parent 635273c commit b38b61b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

models/git_diff_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package models
22

33
import (
4-
dmp "github.com/sergi/go-diff/diffmatchpatch"
54
"html/template"
65
"testing"
6+
7+
dmp "github.com/sergi/go-diff/diffmatchpatch"
78
)
89

910
func assertEqual(t *testing.T, s1 string, s2 template.HTML) {

models/issue_indexer.go

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"code.gitea.io/gitea/modules/log"
1414
"code.gitea.io/gitea/modules/setting"
1515
"code.gitea.io/gitea/modules/util"
16+
1617
"github.com/blevesearch/bleve"
1718
"github.com/blevesearch/bleve/analysis/analyzer/simple"
1819
"github.com/blevesearch/bleve/search/query"

models/issue_milestone_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
package models
66

77
import (
8+
"sort"
89
"testing"
10+
"time"
911

1012
api "code.gitea.io/sdk/gitea"
1113

1214
"github.com/stretchr/testify/assert"
13-
"sort"
14-
"time"
1515
)
1616

1717
func TestMilestone_State(t *testing.T) {

0 commit comments

Comments
 (0)