(t *testing.T)
| 756 | } |
| 757 | |
| 758 | func TestRunList_QueryUnsupported(t *testing.T) { |
| 759 | ios, _, _, _ := iostreams.Test() |
| 760 | config := listConfig{ |
| 761 | opts: listOpts{ |
| 762 | number: 1, |
| 763 | owner: "monalisa", |
| 764 | query: "assignee:octocat", |
| 765 | }, |
| 766 | detector: &fd.DisabledDetectorMock{}, |
| 767 | io: ios, |
| 768 | } |
| 769 | |
| 770 | err := runList(config) |
| 771 | assert.EqualError(t, err, "the `--query` flag is not supported on this GitHub host") |
| 772 | } |
| 773 | |
| 774 | func TestRunList_FieldColumn(t *testing.T) { |
| 775 | defer gock.Off() |