MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / TestToMap_AlreadyMap

Function TestToMap_AlreadyMap

internal/search/search_test.go:179–186  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

177}
178
179func TestToMap_AlreadyMap(t *testing.T) {
180 input := map[string]interface{}{"key": "value"}
181
182 result, err := toMap(input)
183
184 assert.NoError(t, err)
185 assert.Equal(t, input, result)
186}
187
188func TestToMap_Struct(t *testing.T) {
189 input := struct {

Callers

nothing calls this directly

Calls 1

toMapFunction · 0.85

Tested by

no test coverage detected