Fix test
This commit is contained in:
parent
fad697cbaf
commit
4020084f02
1 changed files with 2 additions and 1 deletions
|
|
@ -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())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue