Fixing the backwards compat test to use the stage2 with backwards compatible runtimes.

This commit is contained in:
Livar Cunha 2017-04-08 00:32:34 -07:00
parent c8b042fd1b
commit 88412b4689

View file

@ -42,7 +42,7 @@ namespace Microsoft.DotNet.Cli.Build.Tests
var outputDll = testInstance.Root.GetDirectory("bin", configuration, target)
.GetFile($"{testAppName}.dll");
new DotnetCommand()
new DotnetCommand(DotnetUnderTest.WithBackwardsCompatibleRuntimes)
.ExecuteWithCapturedOutput(outputDll.FullName)
.Should().Pass()
.And.HaveStdOutContaining("Hello World");