Skip to content

Commit

Permalink
Merge pull request #14 from greg0ire/grammar
Browse files Browse the repository at this point in the history
Use proper grammar
  • Loading branch information
greg0ire committed May 28, 2024
2 parents 5168527 + 60a1df9 commit 876569b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/review/addReview.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ describe('review > addReview', () => {
expect(response.status).toEqual(HTTP_STATUS_NO_CONTENT);
expect(slackBotWebClient.chat.postEphemeral).toHaveBeenNthCalledWith(1, {
channel: channelId,
text: expect.stringContaining(`No merge request match \`${search}\``),
text: expect.stringContaining(`No merge request matches \`${search}\``),
user: userId,
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/review/commands/share/shareReviewRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function shareReviewRequestHandler(
await slackBotWebClient.chat.postEphemeral({
channel: channel_id,
user: user_id,
text: `No merge request match \`${query}\` :homer-stressed:`,
text: `No merge request matches \`${query}\` :homer-stressed:`,
});
} else {
await slackBotWebClient.chat.postEphemeral(
Expand Down

0 comments on commit 876569b

Please sign in to comment.