Skip to content

Commit

Permalink
Merge pull request #1473 from sharwell/fix-796
Browse files Browse the repository at this point in the history
Enable SA1028 code fix tests for preprocessor directives
  • Loading branch information
sharwell committed Sep 13, 2015
2 parents 487ee37 + 692cb56 commit 7b23597
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,7 @@ public async Task TrailingWhitespaceAfterDirectivesAsync()

await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);
await this.VerifyCSharpDiagnosticAsync(fixedCode, EmptyDiagnosticResults, CancellationToken.None).ConfigureAwait(false);

// We don't have code fixes available for directives yet.
////await this.VerifyCSharpFixAsync(testCode, fixedCode, cancellationToken: CancellationToken.None);
await this.VerifyCSharpFixAsync(testCode, fixedCode, cancellationToken: CancellationToken.None).ConfigureAwait(false);
}

[Fact]
Expand Down

0 comments on commit 7b23597

Please sign in to comment.