Skip to content

Commit 7b23597

Browse files
committed
Merge pull request #1473 from sharwell/fix-796
Enable SA1028 code fix tests for preprocessor directives
2 parents 487ee37 + 692cb56 commit 7b23597

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1028UnitTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,7 @@ public async Task TrailingWhitespaceAfterDirectivesAsync()
279279

280280
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);
281281
await this.VerifyCSharpDiagnosticAsync(fixedCode, EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);
282-
283-
// We don't have code fixes available for directives yet.
284-
////await this.VerifyCSharpFixAsync(testCode, fixedCode, cancellationToken: CancellationToken.None);
282+
await this.VerifyCSharpFixAsync(testCode, fixedCode, cancellationToken: CancellationToken.None).ConfigureAwait(false);
285283
}
286284

287285
[Fact]

0 commit comments

Comments
 (0)