Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ TestGlobal
Function
TestGlobal
internal/observedtools/store_test.go:88–96 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
86
}
87
88
func
TestGlobal(t *testing.T) {
89
g := Global()
90
if
g == nil {
91
t.Fatal(
"Global() returned nil"
)
92
}
93
if
g != Global() {
94
t.Error(
"Global() should return the same instance"
)
95
}
96
}
Callers
nothing calls this directly
Calls
2
Global
Function · 0.70
Error
Method · 0.45
Tested by
no test coverage detected