From df783118542278556516b40e41a5344c843cd7d9 Mon Sep 17 00:00:00 2001 From: Matt Chaulklin Date: Mon, 24 Jun 2024 08:43:01 -0400 Subject: [PATCH] Updated unit test --- .../DocumentationRules/SA1642UnitTests.cs | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs index 7bc85b757..d6d81d7db 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs +++ b/StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs @@ -1084,32 +1084,11 @@ public B() { } } -"; - - var fixedCode = @" -using System; -/// -/// Does a thing. -/// -public class B -{ - /// - /// - /// Initializes a new instance of the class. - /// - /// - /// Some more info about B. - /// - /// - public B() - { - } -} "; var expectedDiagnostics = DiagnosticResult.EmptyDiagnosticResults; - await VerifyCSharpFixAsync(testCode, expectedDiagnostics, fixedCode, CancellationToken.None).ConfigureAwait(false); + await VerifyCSharpFixAsync(testCode, expectedDiagnostics, testCode, CancellationToken.None).ConfigureAwait(false); } private static async Task TestEmptyConstructorAsync(string typeKind, string modifiers)