(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestSelectMap_NoItems(t *testing.T) { |
| 19 | pa := []*testutil.PA{} |
| 20 | mockAsker, _ := testutil.NewMockAsker(t, pa) |
| 21 | selectedItem, err := question.SelectMap(mockAsker, "question", []*string{}, func(item *string) string { return *item }) |
| 22 | assert.Nil(t, selectedItem) |
| 23 | assert.Error(t, err) |
| 24 | } |
nothing calls this directly
no test coverage detected