From 8b3e6165b7c37b02a4f0cfd944832c3d649b5235 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 22 Nov 2024 21:14:16 +0100 Subject: [PATCH] Fix formatting (IDE0055) --- .../Fakes/FakeAllSetGitClientFactory.cs | 6 +++--- src/Cake.AzureDevOps/ArgumentChecks.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs index 9c20aada..541ee133 100644 --- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs +++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs @@ -306,7 +306,7 @@ protected override Mock Setup(Mock m) gitPullRequestToCreate.LastMergeTargetCommit = new GitCommitRef { CommitId = "78a3c113" }; return gitPullRequestToCreate; - }); + }); m.Setup(arg => arg.UpdateCommentAsync( It.IsAny(), @@ -319,8 +319,8 @@ protected override Mock Setup(Mock 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; diff --git a/src/Cake.AzureDevOps/ArgumentChecks.cs b/src/Cake.AzureDevOps/ArgumentChecks.cs index 230982e6..07f0d840 100644 --- a/src/Cake.AzureDevOps/ArgumentChecks.cs +++ b/src/Cake.AzureDevOps/ArgumentChecks.cs @@ -17,7 +17,7 @@ internal static class ArgumentChecks /// The name of the parameter to include in any thrown exception. /// Thrown if is null. [DebuggerStepThrough] - public static void NotNull([ValidatedNotNull]this T value, string parameterName) + public static void NotNull([ValidatedNotNull] this T value, string parameterName) where T : class { if (value == null) @@ -34,7 +34,7 @@ public static void NotNull([ValidatedNotNull]this T value, string parameterNa /// Thrown if is null. /// Thrown if is empty or consists only of white-space characters. [DebuggerStepThrough] - public static void NotNullOrWhiteSpace([ValidatedNotNull]this string value, string parameterName) + public static void NotNullOrWhiteSpace([ValidatedNotNull] this string value, string parameterName) { if (value == null) {