From 4020084f029d02776c2ddab11971423e28acb5ad Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 1 May 2020 14:54:38 -0700 Subject: [PATCH] Fix test --- command/pr_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/pr_test.go b/command/pr_test.go index e89115e1a..c70a5ed8a 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -918,9 +918,10 @@ func TestPRReopen_alreadyMerged(t *testing.T) { t.Fatalf("error running command `pr reopen`: %v", err) } - r := regexp.MustCompile(`Pull request #666 can't be reopened because it was merged.`) + r := regexp.MustCompile(`Pull request #666 can't be reopened because it was already merged.`) if !r.MatchString(output.Stderr()) { t.Fatalf("output did not match regexp /%s/\n> output\n%q\n", r, output.Stderr()) } + }