(t *testing.T)
| 28 | ) |
| 29 | |
| 30 | func TestValidate(t *testing.T) { |
| 31 | config := map[string]any{ |
| 32 | "services": map[string]any{ |
| 33 | "foo": map[string]any{ |
| 34 | "image": "busybox", |
| 35 | }, |
| 36 | }, |
| 37 | } |
| 38 | |
| 39 | assert.NilError(t, Validate(config)) |
| 40 | } |
| 41 | |
| 42 | func TestValidateUndefinedTopLevelOption(t *testing.T) { |
| 43 | config := map[string]any{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…