(t *testing.T)
| 96 | } |
| 97 | |
| 98 | func TestNoArgs(t *testing.T) { |
| 99 | http := &httpmock.Registry{} |
| 100 | defer http.Verify(t) |
| 101 | |
| 102 | _, err := runCommand(http, true, "") |
| 103 | |
| 104 | assert.EqualError(t, err, "cannot close pull request: number, url, or branch required") |
| 105 | } |
| 106 | |
| 107 | func TestPrClose(t *testing.T) { |
| 108 | http := &httpmock.Registry{} |
nothing calls this directly
no test coverage detected