(t *testing.T, doc string)
| 242 | } |
| 243 | |
| 244 | func parseConfigYaml(t *testing.T, doc string) *env.Config { |
| 245 | config := &env.Config{} |
| 246 | if err := yaml.Unmarshal([]byte(doc), config); err != nil { |
| 247 | t.Fatalf("yaml.Unmarshal(%q) failed: %v", doc, err) |
| 248 | } |
| 249 | return config |
| 250 | } |
no outgoing calls
no test coverage detected