MCPcopy Create free account
hub / github.com/AdRoll/baker / checkDecodedConfig

Function checkDecodedConfig

desc_test.go:14–23  ·  view source on GitHub ↗
(t *testing.T, dcfg interface{})

Source from the content-addressed store, hash-verified

12)
13
14func 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
25func TestCompDescEmptyConfig(t *testing.T) {
26

Callers 1

TestCompDescEmptyConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected