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

Function TestCreateWithEmptyVolumeSpec

e2e/container/create_test.go:18–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16}
17
18func TestCreateWithEmptyVolumeSpec(t *testing.T) {
19 icmd.RunCmd(icmd.Command("docker", "create", "-v", "", fixtures.AlpineImage)).
20 Assert(t, icmd.Expected{
21 ExitCode: 125,
22 Err: "invalid empty volume spec",
23 })
24}

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…