mirror of
https://github.com/actions/runner.git
synced 2026-01-19 19:11:52 +08:00
Fix IDE0090 (#2211)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace GitHub.Runner.Common.Tests.Util
|
||||
public void TaskResultReturnCodeTranslate()
|
||||
{
|
||||
// Arrange.
|
||||
using (TestHostContext hc = new TestHostContext(this))
|
||||
using (TestHostContext hc = new(this))
|
||||
{
|
||||
// Act.
|
||||
TaskResult abandon = TaskResultUtil.TranslateFromReturnCode(TaskResultUtil.TranslateToReturnCode(TaskResult.Abandoned));
|
||||
@@ -57,7 +57,7 @@ namespace GitHub.Runner.Common.Tests.Util
|
||||
public void TaskResultsMerge()
|
||||
{
|
||||
// Arrange.
|
||||
using (TestHostContext hc = new TestHostContext(this))
|
||||
using (TestHostContext hc = new(this))
|
||||
{
|
||||
TaskResult merged;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user