(t *testing.T, scJSON string)
| 1502 | } |
| 1503 | |
| 1504 | func mustParseServiceConfig(t *testing.T, scJSON string) serviceconfig.Config { |
| 1505 | t.Helper() |
| 1506 | sc := internal.ParseServiceConfig.(func(string) *serviceconfig.ParseResult)(scJSON) |
| 1507 | if sc.Err != nil { |
| 1508 | t.Fatalf("Failed to parse service config %q: %v", scJSON, sc.Err) |
| 1509 | } |
| 1510 | return sc.Config |
| 1511 | } |
no test coverage detected