Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 5bd3bb9

Browse files
Rename mispelling function
1 parent 695dd35 commit 5bd3bb9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/GitHub.InlineReviews/Services/IPullRequestSessionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Task<IPullRequestReviewCommentModel> PostStandaloneReviewComment(
290290
/// <param name="body">The comment body.</param>
291291
/// <param name="inReplyTo">The comment ID to reply to.</param>
292292
/// <returns>A model representing the posted comment.</returns>
293-
Task<IPullRequestReviewCommentModel> PostStandaloneReviewCommentRepy(
293+
Task<IPullRequestReviewCommentModel> PostStandaloneReviewCommentReply(
294294
ILocalRepositoryModel localRepository,
295295
string remoteRepositoryOwner,
296296
IAccount user,

src/GitHub.InlineReviews/Services/PullRequestSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public async Task<IPullRequestReviewCommentModel> PostReviewComment(
174174

175175
if (!HasPendingReview)
176176
{
177-
model = await service.PostStandaloneReviewCommentRepy(
177+
model = await service.PostStandaloneReviewCommentReply(
178178
LocalRepository,
179179
RepositoryOwner,
180180
User,

src/GitHub.InlineReviews/Services/PullRequestSessionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ public async Task<IPullRequestReviewCommentModel> PostStandaloneReviewComment(
565565
}
566566

567567
/// <inheritdoc/>
568-
public async Task<IPullRequestReviewCommentModel> PostStandaloneReviewCommentRepy(
568+
public async Task<IPullRequestReviewCommentModel> PostStandaloneReviewCommentReply(
569569
ILocalRepositoryModel localRepository,
570570
string remoteRepositoryOwner,
571571
IAccount user,

test/GitHub.InlineReviews.UnitTests/Services/PullRequestSessionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ public async Task PostsReplyToCorrectForkWithNoPendingReview()
538538

539539
await target.PostReviewComment("New Comment", 1, "node1");
540540

541-
await service.Received(1).PostStandaloneReviewCommentRepy(
541+
await service.Received(1).PostStandaloneReviewCommentReply(
542542
target.LocalRepository,
543543
"owner",
544544
target.User,

0 commit comments

Comments
 (0)