Skip to content

Commit ba96832

Browse files
authored
Update StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs
1 parent 86a93fb commit ba96832

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1500CSharp9UnitTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,12 @@ int Property2
130130
}
131131
}";
132132

133-
var test = new CSharpTest
133+
await new CSharpTest
134134
{
135135
ReferenceAssemblies = ReferenceAssemblies.Net.Net50,
136136
TestCode = testCode,
137137
FixedCode = fixedCode,
138-
};
139-
await test.RunAsync().ConfigureAwait(false);
138+
}.RunAsync(CancellationToken.None).ConfigureAwait(false);
140139
}
141140
}
142141
}

0 commit comments

Comments
 (0)