MCPcopy
hub / github.com/docker/compose / TestHTTPProxySocketEndpoint_EmptyOrUnknown

Function TestHTTPProxySocketEndpoint_EmptyOrUnknown

internal/desktop/proxy_test.go:80–83  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

78}
79
80func TestHTTPProxySocketEndpoint_EmptyOrUnknown(t *testing.T) {
81 assert.Equal(t, httpProxySocketEndpoint(""), "")
82 assert.Equal(t, httpProxySocketEndpoint("tcp://localhost:1234"), "")
83}
84
85func TestProxyTransport_NilWhenNoDockerDesktop(t *testing.T) {
86 assert.Assert(t, ProxyTransport("") == nil,

Callers

nothing calls this directly

Calls 1

httpProxySocketEndpointFunction · 0.85

Tested by

no test coverage detected