From fde5409a701d24acf8b0df3e32c670fc5024f08e Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 18 May 2020 14:40:04 -0700 Subject: [PATCH] Update command/pr_test.go Co-authored-by: Billy Griffin <5091167+billygriffin@users.noreply.github.com> --- command/pr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr_test.go b/command/pr_test.go index ebbee4aff..24fce9d63 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -1156,7 +1156,7 @@ func TestPRReady_closed(t *testing.T) { t.Fatalf("expected an error running command `pr ready` on a review that is closed!: %v", err) } - r := regexp.MustCompile(`Pull request #446 is closed and can't be marked "ready for review"`) + r := regexp.MustCompile(`Pull request #446 is closed. Only draft pull requests can be marked as "ready for review"`) if !r.MatchString(err.Error()) { t.Fatalf("output did not match regexp /%s/\n> output\n%q\n", r, err.Error())