From 2f5110be7346e0ed8afcf2b9f47188416e5b9335 Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Mon, 30 Jan 2023 19:45:27 +0000 Subject: [PATCH] Use dotnet 3.1 compat syntax --- src/Test/L0/ProcessInvokerL0.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();