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 f57323a commit b9f5cd3Copy full SHA for b9f5cd3
modules/test/utils_test.go
@@ -9,7 +9,7 @@ import (
9
"github.com/stretchr/testify/assert"
10
)
11
12
-func TestDetectGiteaRoot(t *testing.T) {
+func TestSetupGiteaRoot(t *testing.T) {
13
t.Setenv("GITEA_ROOT", "test")
14
assert.Equal(t, "test", SetupGiteaRoot())
15
t.Setenv("GITEA_ROOT", "")
0 commit comments