X Tutup
Skip to content

Commit d2eb17b

Browse files
committed
Fix test after copy changes
1 parent 96edddc commit d2eb17b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

command/pr_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func TestPRView_preview(t *testing.T) {
257257
regexp.MustCompile(`Blueberries are from a fork`),
258258
regexp.MustCompile(`nobody wants to merge 12 commits into master from blueberries`),
259259
regexp.MustCompile(`blueberries taste good`),
260-
regexp.MustCompile(`View this PR on GitHub: https://github.com/OWNER/REPO/pull/12`),
260+
regexp.MustCompile(`View this pull request on GitHub: https://github.com/OWNER/REPO/pull/12`),
261261
}
262262
for _, r := range expectedLines {
263263
if !r.MatchString(output.String()) {
@@ -291,7 +291,7 @@ func TestPRView_previewCurrentBranch(t *testing.T) {
291291
regexp.MustCompile(`Blueberries are a good fruit`),
292292
regexp.MustCompile(`nobody wants to merge 8 commits into master from blueberries`),
293293
regexp.MustCompile(`blueberries taste good`),
294-
regexp.MustCompile(`View this PR on GitHub: https://github.com/OWNER/REPO/pull/10`),
294+
regexp.MustCompile(`View this pull request on GitHub: https://github.com/OWNER/REPO/pull/10`),
295295
}
296296
for _, r := range expectedLines {
297297
if !r.MatchString(output.String()) {

0 commit comments

Comments
 (0)
X Tutup