Skip to content

Commit 4a11466

Browse files
committed
Enable TestNoSA1503CodeFixForStatementAsync for C# 7
This test was previously marked private, so it would not run as part of derived test classes.
1 parent a7d874c commit 4a11466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/LayoutRules/SA1501UnitTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ protected override IEnumerable<string> GetDisabledDiagnostics()
10171017
/// <returns>A <see cref="Task"/> representing the asynchronous unit test.</returns>
10181018
[Theory]
10191019
[MemberData(nameof(TestStatements))]
1020-
private async Task TestNoSA1503CodeFixForStatementAsync(string statementText)
1020+
public async Task TestNoSA1503CodeFixForStatementAsync(string statementText)
10211021
{
10221022
this.suppressSA1503 = true;
10231023
await this.VerifyCSharpFixAsync(this.GenerateTestStatement(statementText), this.GenerateFixedTestStatement(statementText)).ConfigureAwait(false);

0 commit comments

Comments
 (0)