Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell authored Jun 21, 2023
1 parent 70abd32 commit 89174f9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
Expand Down Expand Up @@ -51,13 +52,12 @@ int Property
class MyAttribute : Attribute { }
";

var test = new CSharpTest
await new CSharpTest
{
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
TestCode = testCode,
FixedCode = fixedCode,
};
await test.RunAsync().ConfigureAwait(false);
}.RunAsync(CancellationToken.None).ConfigureAwait(false);
}
}
}

0 comments on commit 89174f9

Please sign in to comment.