Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpectoLabs/hoverfly
/ Test_isLocal_WhenLocalhostIP
Function
Test_isLocal_WhenLocalhostIP
hoverctl/wrapper/hoverfly_test.go:24–28 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
Test_isLocal_WhenLocalhostIP(t *testing.T) {
25
RegisterTestingT(t)
26
27
Expect(IsLocal(
"127.0.0.1"
)).To(BeTrue())
28
}
29
30
func
Test_isLocal_WhenLocalhostIP_WithHttp(t *testing.T) {
31
RegisterTestingT(t)
Callers
nothing calls this directly
Calls
1
IsLocal
Function · 0.85
Tested by
no test coverage detected