MCPcopy
hub / github.com/cortexlabs/cortex / CheckFlattenAllStrValues

Function CheckFlattenAllStrValues

pkg/lib/configreader/interface_test.go:88–92  ·  view source on GitHub ↗
(obj interface{}, expected []string, t *testing.T)

Source from the content-addressed store, hash-verified

86}
87
88func CheckFlattenAllStrValues(obj interface{}, expected []string, t *testing.T) {
89 flattened, err := FlattenAllStrValues(obj)
90 require.NoError(t, err)
91 require.Equal(t, expected, flattened)
92}

Callers 1

TestFlattenAllStrValuesFunction · 0.85

Calls 2

FlattenAllStrValuesFunction · 0.85
EqualMethod · 0.80

Tested by

no test coverage detected