(t *testing.T)
| 239 | } |
| 240 | |
| 241 | func TestValidateSecretConfigNames(t *testing.T) { |
| 242 | config := dict{ |
| 243 | "version": "3.5", |
| 244 | "configs": dict{ |
| 245 | "bar": dict{ |
| 246 | "name": "foobar", |
| 247 | }, |
| 248 | }, |
| 249 | "secrets": dict{ |
| 250 | "baz": dict{ |
| 251 | "name": "foobaz", |
| 252 | }, |
| 253 | }, |
| 254 | } |
| 255 | |
| 256 | err := Validate(config, "3.5") |
| 257 | assert.NilError(t, err) |
| 258 | } |
| 259 | |
| 260 | func TestValidateInvalidVersion(t *testing.T) { |
| 261 | config := dict{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…