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

Function TestNewResolver_NilTransportIsValid

internal/oci/resolver_test.go:105–108  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

103}
104
105func TestNewResolver_NilTransportIsValid(t *testing.T) {
106 resolver := NewResolver(&configfile.ConfigFile{}, nil)
107 assert.Assert(t, resolver != nil, "NewResolver must return a non-nil resolver when transport is nil")
108}

Callers

nothing calls this directly

Calls 1

NewResolverFunction · 0.85

Tested by

no test coverage detected