Skip to content

Commit

Permalink
Fix formatting (IDE0055)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Nov 22, 2024
1 parent 744ec6b commit 8b3e616
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ protected override Mock<GitHttpClient> Setup(Mock<GitHttpClient> m)
gitPullRequestToCreate.LastMergeTargetCommit = new GitCommitRef { CommitId = "78a3c113" };

return gitPullRequestToCreate;
});
});

m.Setup(arg => arg.UpdateCommentAsync(
It.IsAny<Comment>(),
Expand All @@ -319,8 +319,8 @@ protected override Mock<GitHttpClient> Setup(Mock<GitHttpClient> m)
.ReturnsAsync((Comment comment, Guid _, int _, int _, int _, object _, CancellationToken _)
=> new Comment
{
Id = comment.Id,
Content = comment.Content,
Id = comment.Id,
Content = comment.Content,
});

return m;
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.AzureDevOps/ArgumentChecks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static class ArgumentChecks
/// <param name="parameterName">The name of the parameter to include in any thrown exception.</param>
/// <exception cref="ArgumentNullException">Thrown if <paramref name="value"/> is <c>null</c>.</exception>
[DebuggerStepThrough]
public static void NotNull<T>([ValidatedNotNull]this T value, string parameterName)
public static void NotNull<T>([ValidatedNotNull] this T value, string parameterName)
where T : class
{
if (value == null)
Expand All @@ -34,7 +34,7 @@ public static void NotNull<T>([ValidatedNotNull]this T value, string parameterNa
/// <exception cref="ArgumentNullException">Thrown if <paramref name="value"/> is <c>null</c>.</exception>
/// <exception cref="ArgumentOutOfRangeException">Thrown if <paramref name="value"/> is empty or consists only of white-space characters.</exception>
[DebuggerStepThrough]
public static void NotNullOrWhiteSpace([ValidatedNotNull]this string value, string parameterName)
public static void NotNullOrWhiteSpace([ValidatedNotNull] this string value, string parameterName)
{
if (value == null)
{
Expand Down

0 comments on commit 8b3e616

Please sign in to comment.