MCPcopy Create free account
hub / github.com/docker/cli / TestParseYAML

Function TestParseYAML

cli/compose/loader/loader_test.go:234–238  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

232}
233
234func TestParseYAML(t *testing.T) {
235 dict, err := ParseYAML([]byte(sampleYAML))
236 assert.NilError(t, err)
237 assert.Check(t, is.DeepEqual(sampleDict, dict))
238}
239
240func TestLoad(t *testing.T) {
241 actual, err := Load(buildConfigDetails(sampleDict, nil))

Callers

nothing calls this directly

Calls 1

ParseYAMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…