MCPcopy Create free account
hub / github.com/SpectoLabs/hoverfly / Test_isLocal_WhenLocalhost

Function Test_isLocal_WhenLocalhost

hoverctl/wrapper/hoverfly_test.go:12–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func Test_isLocal_WhenLocalhost(t *testing.T) {
13 RegisterTestingT(t)
14
15 Expect(IsLocal("localhost")).To(BeTrue())
16}
17
18func Test_isLocal_WhenLocalhost_WithHttp(t *testing.T) {
19 RegisterTestingT(t)

Callers

nothing calls this directly

Calls 1

IsLocalFunction · 0.85

Tested by

no test coverage detected