(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestConvertVolumeToMountUnapprovedType(t *testing.T) { |
| 88 | config := composetypes.ServiceVolumeConfig{ |
| 89 | Type: "foo", |
| 90 | Target: "/foo/bar", |
| 91 | } |
| 92 | _, err := convertVolumeToMount(config, volumes{}, NewNamespace("foo")) |
| 93 | assert.Error(t, err, "volume type must be volume, bind, tmpfs, npipe, or cluster") |
| 94 | } |
| 95 | |
| 96 | func TestConvertVolumeToMountConflictingOptionsBindInVolume(t *testing.T) { |
| 97 | namespace := NewNamespace("foo") |
nothing calls this directly
no test coverage detected
searching dependent graphs…