MCPcopy Create free account
hub / github.com/VirusTotal/vt-cli / TestFlatten

Function TestFlatten

csv/flatten_test.go:171–177  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

169}
170
171func TestFlatten(t *testing.T) {
172 for _, test := range tests {
173 result, err := flatten(test.data)
174 assert.NoError(t, err)
175 assert.Equal(t, test.expected, result, "Test %v", test.data)
176 }
177}

Callers

nothing calls this directly

Calls 1

flattenFunction · 0.85

Tested by

no test coverage detected