aboutsummaryrefslogtreecommitdiffstats
path: root/models/git
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 /models/git
parentb4d420d8658feced78d897de4fbc9cc6ca76ab4e (diff)
downloadgitea-d91d4db344792760a18265c6902d4ac909d0ee84.tar.gz
gitea-d91d4db344792760a18265c6902d4ac909d0ee84.zip
Move tests as seperate sub packages to reduce duplicated file names (#19951)
Diffstat (limited to 'models/git')
-rw-r--r--models/git/main_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/git/main_test.go b/models/git/main_test.go
index dc30dfaad7..41e6ac4704 100644
--- a/models/git/main_test.go
+++ b/models/git/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) {