(t *testing.T)
| 79 | } |
| 80 | |
| 81 | func TestPromptScope_NoItems(t *testing.T) { |
| 82 | pa := []*testutil.PA{} |
| 83 | |
| 84 | asker, checkRemainingPrompts := testutil.NewMockAsker(t, pa) |
| 85 | |
| 86 | selectedValue, err := shared.PromptScope(asker, "Test", nil, nil) |
| 87 | |
| 88 | assert.NoError(t, err) |
| 89 | checkRemainingPrompts() |
| 90 | assert.Nil(t, selectedValue) |
| 91 | } |
| 92 | |
| 93 | func TestPromptScope_HasItems(t *testing.T) { |
| 94 | pa := []*testutil.PA{ |
nothing calls this directly
no test coverage detected