Skip to content

Commit df78311

Browse files
committed
Updated unit test
1 parent 400f970 commit df78311

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1642UnitTests.cs

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,32 +1084,11 @@ public B()
10841084
{
10851085
}
10861086
}
1087-
";
1088-
1089-
var fixedCode = @"
1090-
using System;
1091-
/// <summary>
1092-
/// Does a thing.
1093-
/// </summary>
1094-
public class B
1095-
{
1096-
/// <summary>
1097-
/// <para>
1098-
/// Initializes a new instance of the <see cref=""B""/> class.
1099-
/// </para>
1100-
/// <para>
1101-
/// Some more info about B.
1102-
/// </para>
1103-
/// </summary>
1104-
public B()
1105-
{
1106-
}
1107-
}
11081087
";
11091088

11101089
var expectedDiagnostics = DiagnosticResult.EmptyDiagnosticResults;
11111090

1112-
await VerifyCSharpFixAsync(testCode, expectedDiagnostics, fixedCode, CancellationToken.None).ConfigureAwait(false);
1091+
await VerifyCSharpFixAsync(testCode, expectedDiagnostics, testCode, CancellationToken.None).ConfigureAwait(false);
11131092
}
11141093

11151094
private static async Task TestEmptyConstructorAsync(string typeKind, string modifiers)

0 commit comments

Comments
 (0)