(t *testing.T)
| 177 | } |
| 178 | |
| 179 | func TestConvertHealthcheckDisable(t *testing.T) { |
| 180 | source := &composetypes.HealthCheckConfig{Disable: true} |
| 181 | expected := &container.HealthConfig{ |
| 182 | Test: []string{"NONE"}, |
| 183 | } |
| 184 | |
| 185 | healthcheck, err := convertHealthcheck(source) |
| 186 | assert.NilError(t, err) |
| 187 | assert.Check(t, is.DeepEqual(expected, healthcheck)) |
| 188 | } |
| 189 | |
| 190 | func TestConvertHealthcheckDisableWithTest(t *testing.T) { |
| 191 | source := &composetypes.HealthCheckConfig{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…