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)