summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-06-15 15:02:00 +0800
committerGitHub <noreply@github.com>2022-06-15 09:02:00 +0200
commitd91d4db344792760a18265c6902d4ac909d0ee84 (patch)
treee32232b041671df97164c4398e48316744c32ceb /services
parentb4d420d8658feced78d897de4fbc9cc6ca76ab4e (diff)
downloadgitea-d91d4db344792760a18265c6902d4ac909d0ee84.tar.gz
gitea-d91d4db344792760a18265c6902d4ac909d0ee84.zip
Move tests as seperate sub packages to reduce duplicated file names (#19951)
Diffstat (limited to 'services')
-rw-r--r--services/gitdiff/main_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/gitdiff/main_test.go b/services/gitdiff/main_test.go
index 17d0da6276..0d36a600f6 100644
--- a/services/gitdiff/main_test.go
+++ b/services/gitdiff/main_test.go
@@ -8,8 +8,9 @@ import (
"path/filepath"
"testing"
- _ "code.gitea.io/gitea/models"
"code.gitea.io/gitea/models/unittest"
+
+ _ "code.gitea.io/gitea/models"
)
func TestMain(m *testing.M) {