MCPcopy Index your code
hub / github.com/docker/cli / TestConfigWithEmptyComposeFile

Function TestConfigWithEmptyComposeFile

cli/command/stack/config_test.go:13–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestConfigWithEmptyComposeFile(t *testing.T) {
14 cmd := newConfigCommand(test.NewFakeCli(&fakeClient{}))
15 cmd.SetOut(io.Discard)
16 cmd.SetErr(io.Discard)
17
18 assert.ErrorContains(t, cmd.Execute(), `specify a Compose file`)
19}
20
21func TestConfigMergeInterpolation(t *testing.T) {
22 tests := []struct {

Callers

nothing calls this directly

Calls 3

newConfigCommandFunction · 0.70
SetOutMethod · 0.45
SetErrMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…