diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/BuiltInCommandTests.cs b/test/Microsoft.DotNet.Cli.Utils.Tests/BuiltInCommandTests.cs index c91c202c0..03757f92a 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/BuiltInCommandTests.cs +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/BuiltInCommandTests.cs @@ -21,7 +21,7 @@ namespace Microsoft.DotNet.Cli.Utils Func testCommand = args => args.Length; string[] testCommandArgs = new[] { "1", "2" }; - var builtInCommand = new BuiltInCommand("fakeCommand", testCommandArgs, testCommand); + var builtInCommand = new BuiltInCommand("fakeCommand", testCommandArgs, testCommand, new TestBuiltInCommandEnvironment()); CommandResult result = builtInCommand.Execute(); Assert.Equal(testCommandArgs.Length, result.ExitCode);