diff --git a/command/issue_test.go b/command/issue_test.go index ba36101d4..e67e62fb2 100644 --- a/command/issue_test.go +++ b/command/issue_test.go @@ -109,6 +109,11 @@ func TestIssueList(t *testing.T) { t.Errorf("error running command `issue list`: %v", err) } + eq(t, output.Stderr(), ` +3 issues in OWNER/REPO + +`) + expectedIssues := []*regexp.Regexp{ regexp.MustCompile(`(?m)^1\t.*won`), regexp.MustCompile(`(?m)^2\t.*too`), diff --git a/command/pr_test.go b/command/pr_test.go index 66c59d4d8..7f3555733 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -171,6 +171,10 @@ func TestPRList(t *testing.T) { t.Fatal(err) } + eq(t, output.Stderr(), ` +3 pull requests in OWNER/REPO + +`) eq(t, output.String(), `32 New feature feature 29 Fixed bad bug hubot:bug-fix 28 Improve documentation docs