(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestValidateAllowsXTopLevelFields(t *testing.T) { |
| 56 | config := map[string]any{ |
| 57 | "x-extra-stuff": map[string]any{}, |
| 58 | } |
| 59 | |
| 60 | assert.NilError(t, Validate(config)) |
| 61 | assert.NilError(t, Validate(config)) |
| 62 | } |
| 63 | |
| 64 | func TestValidateAllowsXFields(t *testing.T) { |
| 65 | config := map[string]any{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…