diff --git a/test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestfromCsproj.cs b/test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestfromCsproj.cs index 256c92609..9f3b7f050 100644 --- a/test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestfromCsproj.cs +++ b/test/dotnet-test.Tests/GivenDotnetTestBuildsAndRunsTestfromCsproj.cs @@ -134,7 +134,7 @@ namespace Microsoft.DotNet.Cli.Test.Tests // Call test with logger enable CommandResult result = new DotnetTestCommand() .WithWorkingDirectory(testProjectDirectory) - .ExecuteWithCapturedOutput("--logger:trx"); + .ExecuteWithCapturedOutput("--logger trx"); // Verify String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "*.trx");