Fix test expectation to match message change
This commit is contained in:
parent
39b07f54dd
commit
9cfc62b65f
1 changed files with 4 additions and 4 deletions
|
@ -36,9 +36,9 @@ namespace EndToEnd.Tests
|
||||||
var runCommand = new RunCommand()
|
var runCommand = new RunCommand()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.ExecuteWithCapturedOutput()
|
.ExecuteWithCapturedOutput()
|
||||||
// Templates are still at 3.0 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
// Templates are still at 3.1 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
||||||
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
||||||
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-download");
|
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-core-applaunch");
|
||||||
|
|
||||||
var binDirectory = new DirectoryInfo(projectDirectory).Sub("bin");
|
var binDirectory = new DirectoryInfo(projectDirectory).Sub("bin");
|
||||||
binDirectory.Should().HaveFilesMatching("*.dll", SearchOption.AllDirectories);
|
binDirectory.Should().HaveFilesMatching("*.dll", SearchOption.AllDirectories);
|
||||||
|
@ -80,9 +80,9 @@ namespace EndToEnd.Tests
|
||||||
var runCommand = new RunCommand()
|
var runCommand = new RunCommand()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.ExecuteWithCapturedOutput()
|
.ExecuteWithCapturedOutput()
|
||||||
// Templates are still at 3.0 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
// Templates are still at 3.1 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
||||||
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
||||||
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-download");
|
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-core-applaunch");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue