mirror of
https://github.com/actions/runner.git
synced 2025-12-14 13:17:08 +00:00
Use dotnet 3.1 compat syntax
This commit is contained in:
@@ -135,7 +135,7 @@ namespace GitHub.Runner.Common.Tests
|
|||||||
[Trait("Category", "Common")]
|
[Trait("Category", "Common")]
|
||||||
public async Task SetTestEnvWithNullInKey()
|
public async Task SetTestEnvWithNullInKey()
|
||||||
{
|
{
|
||||||
using (TestHostContext hc = new(this))
|
using (TestHostContext hc = new TestHostContext(this))
|
||||||
{
|
{
|
||||||
Tracing trace = hc.GetTrace();
|
Tracing trace = hc.GetTrace();
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ namespace GitHub.Runner.Common.Tests
|
|||||||
[Trait("Category", "Common")]
|
[Trait("Category", "Common")]
|
||||||
public async Task SetTestEnvWithNullInValue()
|
public async Task SetTestEnvWithNullInValue()
|
||||||
{
|
{
|
||||||
using (TestHostContext hc = new(this))
|
using (TestHostContext hc = new TestHostContext(this))
|
||||||
{
|
{
|
||||||
Tracing trace = hc.GetTrace();
|
Tracing trace = hc.GetTrace();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user