mirror of
https://github.com/actions/runner.git
synced 2025-12-31 22:37:22 +08:00
Fix IDE0090 (#2211)
This commit is contained in:
@@ -13,7 +13,7 @@ namespace GitHub.Runner.Common.Tests
|
||||
[Trait("Category", "Common")]
|
||||
public void LoadsTypeFromString()
|
||||
{
|
||||
using (TestHostContext tc = new TestHostContext(this))
|
||||
using (TestHostContext tc = new(this))
|
||||
{
|
||||
// Arrange.
|
||||
var manager = new ExtensionManager();
|
||||
@@ -34,7 +34,7 @@ namespace GitHub.Runner.Common.Tests
|
||||
[Trait("Category", "Common")]
|
||||
public void LoadsTypes()
|
||||
{
|
||||
using (TestHostContext tc = new TestHostContext(this))
|
||||
using (TestHostContext tc = new(this))
|
||||
{
|
||||
// Arrange.
|
||||
var manager = new ExtensionManager();
|
||||
|
||||
Reference in New Issue
Block a user