Skip to content

Commit

Permalink
Updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
MattFromRVA committed Jun 24, 2024
1 parent 400f970 commit df78311
Showing 1 changed file with 1 addition and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1084,32 +1084,11 @@ public B()
{
}
}
";

var fixedCode = @"
using System;
/// <summary>
/// Does a thing.
/// </summary>
public class B
{
/// <summary>
/// <para>
/// Initializes a new instance of the <see cref=""B""/> class.
/// </para>
/// <para>
/// Some more info about B.
/// </para>
/// </summary>
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)
Expand Down

0 comments on commit df78311

Please sign in to comment.