Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gotify/server
/ TestDevMode
Function
TestDevMode
mode/mode_test.go:10–15 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
TestDevMode(t *testing.T) {
11
Set(Dev)
12
assert.Equal(t, Get(), Dev)
13
assert.True(t, IsDev())
14
assert.Equal(t, gin.Mode(), gin.DebugMode)
15
}
16
17
func
TestTestDevMode(t *testing.T) {
18
Set(TestDev)
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…