Skip to content

Commit 5f391d7

Browse files
authored
Merge pull request #926 from kkmuffme/improve-bot-text
Improve bot text vimeo/psalm#10376
2 parents 3878ae6 + 2d69aa9 commit 5f391d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Responder/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ResolvedSnippet, SnippetIssue } from "../SnippetResolver"
33
export class Responder {
44

55
greet(login: string) {
6-
return `Hey @${login}, can you reproduce the issue on https://psalm.dev ?`
6+
return `Hey @${login}, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.`
77
}
88

99
shouldGreet(issue: string, repoName: string) {
@@ -62,7 +62,7 @@ ${snippetOutput}
6262
if (snippet.internalError !== null) {
6363
return this.formatInternalError(snippet)
6464
} else if (snippet.results !== null) {
65-
return this.formatSnippetResult(snippet)
65+
return this.formatSnippetResult(snippet)
6666
}
6767
return '';
6868
}

test/Responder.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Responder', () => {
6262
describe('Actual greeting', () => {
6363
test('Greeting text', () => {
6464
expect(responder.greet('aUser'))
65-
.toEqual('Hey @aUser, can you reproduce the issue on https://psalm.dev ?')
65+
.toEqual('Hey @aUser, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.')
6666
})
6767
})
6868

0 commit comments

Comments
 (0)