Update test code to use netcoreapp2.1

This commit is contained in:
Daniel Plaisted 2017-08-18 15:36:01 -07:00
parent c00afe9588
commit dc4046ca7e
14 changed files with 30 additions and 30 deletions

View file

@ -19,7 +19,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
{
string projectDirectory = directory.Path;
string newArgs = "console -f netcoreapp2.0 --debug:ephemeral-hive --no-restore";
string newArgs = "console -f netcoreapp2.1 --debug:ephemeral-hive --no-restore";
new NewCommandShim()
.WithWorkingDirectory(projectDirectory)
.Execute(newArgs)
@ -112,7 +112,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
new DotnetCommand(DotnetUnderTest.WithBackwardsCompatibleRuntimes)
.WithWorkingDirectory(testProjectDirectory)
.ExecuteWithCapturedOutput(
$"-d dependency-tool-invoker -c {configuration} -f netcoreapp2.0 portable")
$"-d dependency-tool-invoker -c {configuration} -f netcoreapp2.1 portable")
.Should().Pass()
.And.HaveStdOutContaining("Hello Portable World!");;
}