We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70abd32 commit 89174f9Copy full SHA for 89174f9
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/ReadabilityRules/SA1137CSharp9UnitTests.cs
@@ -3,6 +3,7 @@
3
4
namespace StyleCop.Analyzers.Test.CSharp9.ReadabilityRules
5
{
6
+ using System.Threading;
7
using System.Threading.Tasks;
8
using Microsoft.CodeAnalysis.Testing;
9
using StyleCop.Analyzers.Test.CSharp8.ReadabilityRules;
@@ -51,13 +52,12 @@ int Property
51
52
class MyAttribute : Attribute { }
53
";
54
- var test = new CSharpTest
55
+ await new CSharpTest
56
57
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
58
TestCode = testCode,
59
FixedCode = fixedCode,
- };
60
- await test.RunAsync().ConfigureAwait(false);
+ }.RunAsync(CancellationToken.None).ConfigureAwait(false);
61
}
62
63
0 commit comments