Skip to content

Commit 2f5110b

Browse files
committed
Use dotnet 3.1 compat syntax
1 parent 1cb1fc5 commit 2f5110b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Test/L0/ProcessInvokerL0.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public async Task SetCIEnv()
135135
[Trait("Category", "Common")]
136136
public async Task SetTestEnvWithNullInKey()
137137
{
138-
using (TestHostContext hc = new(this))
138+
using (TestHostContext hc = new TestHostContext(this))
139139
{
140140
Tracing trace = hc.GetTrace();
141141

@@ -170,7 +170,7 @@ public async Task SetTestEnvWithNullInKey()
170170
[Trait("Category", "Common")]
171171
public async Task SetTestEnvWithNullInValue()
172172
{
173-
using (TestHostContext hc = new(this))
173+
using (TestHostContext hc = new TestHostContext(this))
174174
{
175175
Tracing trace = hc.GetTrace();
176176

0 commit comments

Comments
 (0)