Update test code to use netcoreapp2.1
This commit is contained in:
parent
c00afe9588
commit
dc4046ca7e
14 changed files with 30 additions and 30 deletions
|
@ -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!");;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue