We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0687f commit 2f1862cCopy full SHA for 2f1862c
services/git/compare_test.go
@@ -1,4 +1,4 @@
1
-// Copyright 2025 The Gitea Authors. All rights reserved.
+// Copyright 2026 The Gitea Authors. All rights reserved.
2
// SPDX-License-Identifier: MIT
3
4
package git
services/git/main_test.go
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: MIT
+
+package git
5
6
+import (
7
+ "testing"
8
9
+ "code.gitea.io/gitea/models/unittest"
10
11
+ _ "code.gitea.io/gitea/models"
12
+ _ "code.gitea.io/gitea/models/actions"
13
+ _ "code.gitea.io/gitea/models/activities"
14
+)
15
16
+func TestMain(m *testing.M) {
17
+ unittest.MainTest(m)
18
+}
0 commit comments