From d51c920da8d7fa418b06d215526fea30f52deb26 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Tue, 10 May 2016 18:46:47 -0500 Subject: [PATCH] Fix BuiltInCommandTests. I forgot to mock out the environment on one of the builtin command tests. --- test/Microsoft.DotNet.Cli.Utils.Tests/BuiltInCommandTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);