Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gotify/server
/ TestTestDevMode
Function
TestTestDevMode
mode/mode_test.go:17–22 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
TestTestDevMode(t *testing.T) {
18
Set(TestDev)
19
assert.Equal(t, Get(), TestDev)
20
assert.True(t, IsDev())
21
assert.Equal(t, gin.Mode(), gin.TestMode)
22
}
23
24
func
TestProdMode(t *testing.T) {
25
Set(Prod)
Callers
nothing calls this directly
Calls
3
Set
Function · 0.85
IsDev
Function · 0.85
Get
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…