(t *testing.T)
| 210 | } |
| 211 | |
| 212 | func TestIssueList_withInvalidLimitFlag(t *testing.T) { |
| 213 | http := &httpmock.Registry{} |
| 214 | defer http.Verify(t) |
| 215 | |
| 216 | _, err := runCommand(http, true, "--limit=0") |
| 217 | |
| 218 | if err == nil || err.Error() != "invalid limit: 0" { |
| 219 | t.Errorf("error running command `issue list`: %v", err) |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | func TestIssueList_disabledIssues(t *testing.T) { |
| 224 | http := &httpmock.Registry{} |
nothing calls this directly
no test coverage detected