diff --git a/src/Test/L0/ProcessInvokerL0.cs b/src/Test/L0/ProcessInvokerL0.cs index ba4dfe80f..05102b298 100644 --- a/src/Test/L0/ProcessInvokerL0.cs +++ b/src/Test/L0/ProcessInvokerL0.cs @@ -135,7 +135,7 @@ namespace GitHub.Runner.Common.Tests [Trait("Category", "Common")] public async Task SetTestEnvWithNullInKey() { - using (TestHostContext hc = new(this)) + using (TestHostContext hc = new TestHostContext(this)) { Tracing trace = hc.GetTrace(); @@ -170,7 +170,7 @@ namespace GitHub.Runner.Common.Tests [Trait("Category", "Common")] public async Task SetTestEnvWithNullInValue() { - using (TestHostContext hc = new(this)) + using (TestHostContext hc = new TestHostContext(this)) { Tracing trace = hc.GetTrace();