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) {