(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestKeys(t *testing.T) { |
| 11 | t.Parallel() |
| 12 | |
| 13 | is := require.New(t) |
| 14 | |
| 15 | r1 := Keys(map[string]int{"foo": 1, "bar": 2}) |
| 16 | sort.Strings(r1) |
| 17 | |
| 18 | is.Equal([]string{"bar", "foo"}, r1) |
| 19 | } |
| 20 | |
| 21 | func TestValues(t *testing.T) { |
| 22 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…