(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestCreateWithEmptySourceVolume(t *testing.T) { |
| 11 | icmd.RunCmd(icmd.Command("docker", "create", "-v", ":/volume", fixtures.AlpineImage)). |
| 12 | Assert(t, icmd.Expected{ |
| 13 | ExitCode: 125, |
| 14 | Err: "empty section between colons", |
| 15 | }) |
| 16 | } |
| 17 | |
| 18 | func TestCreateWithEmptyVolumeSpec(t *testing.T) { |
| 19 | icmd.RunCmd(icmd.Command("docker", "create", "-v", "", fixtures.AlpineImage)). |
nothing calls this directly
no test coverage detected
searching dependent graphs…