(t *testing.T, dcfg interface{})
| 12 | ) |
| 13 | |
| 14 | func checkDecodedConfig(t *testing.T, dcfg interface{}) { |
| 15 | t.Helper() |
| 16 | if dcfg == nil { |
| 17 | t.Errorf("DecodedConfig is nil, want struct{}{}") |
| 18 | } |
| 19 | _, ok := dcfg.(*struct{}) |
| 20 | if !ok { |
| 21 | t.Errorf("config cast error") |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func TestCompDescEmptyConfig(t *testing.T) { |
| 26 |
no outgoing calls
no test coverage detected