(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestMultiSelectMap_NoItems(t *testing.T) { |
| 11 | pa := []*testutil.PA{} |
| 12 | mockAsker, _ := testutil.NewMockAsker(t, pa) |
| 13 | selectedItem, err := question.MultiSelectMap(mockAsker, "question", []*string{}, func(item *string) string { return *item }, false) |
| 14 | assert.Nil(t, selectedItem) |
| 15 | assert.Error(t, err) |
| 16 | } |
| 17 | |
| 18 | func TestSelectMap_NoItems(t *testing.T) { |
| 19 | pa := []*testutil.PA{} |
nothing calls this directly
no test coverage detected