MCPcopy Index your code
hub / github.com/riverqueue/river / TestValues

Function TestValues

rivershared/util/maputil/map_util_test.go:21–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19}
20
21func TestValues(t *testing.T) {
22 t.Parallel()
23
24 is := require.New(t)
25
26 r1 := Values(map[string]int{"foo": 1, "bar": 2})
27 sort.Ints(r1)
28
29 is.Equal([]int{1, 2}, r1)
30}

Callers

nothing calls this directly

Calls 1

ValuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…