(t *testing.T)
| 243 | } |
| 244 | |
| 245 | func TestValidateVariables(t *testing.T) { |
| 246 | bytes, err := os.ReadFile("using-variables.yaml") |
| 247 | assert.NilError(t, err) |
| 248 | var config map[string]any |
| 249 | err = yaml.Unmarshal(bytes, &config) |
| 250 | assert.NilError(t, err) |
| 251 | assert.NilError(t, Validate(config)) |
| 252 | } |
| 253 | |
| 254 | // TestValidateConcurrent ensures Validate can safely be called from several |
| 255 | // goroutines at once. Run with -race to catch the regression reported in |
nothing calls this directly
no test coverage detected
searching dependent graphs…