Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/perkeep/perkeep
/ TestLocalhost
Function
TestLocalhost
internal/netutil/netutil_test.go:163–168 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
161
}
162
163
func
TestLocalhost(t *testing.T) {
164
_, err := Localhost()
165
if
err != nil {
166
t.Fatal(err)
167
}
168
}
169
170
func
TestListenOnLocalRandomPort(t *testing.T) {
171
l, err := ListenOnLocalRandomPort()
Callers
nothing calls this directly
Calls
2
Fatal
Method · 0.80
Localhost
Function · 0.70
Tested by
no test coverage detected