Addressing code review comments.

This commit is contained in:
Livar Cunha 2016-11-23 10:19:00 -08:00
parent dc87680337
commit d5f7efbe86
3 changed files with 26 additions and 27 deletions

View file

@ -70,7 +70,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
}
[Fact]
public void ItCanRunToolsThatPrefersTheCliRuntime()
public void ItCanRunToolsThatPrefersTheCliRuntimeEvenWhenTheToolItselfDeclaresADifferentRuntime()
{
var testInstance = TestAssets.Get("MSBuildTestApp")
.CreateInstance()
@ -82,10 +82,8 @@ namespace Microsoft.DotNet.Tests.EndToEnd
new DotnetCommand()
.WithWorkingDirectory(testInstance.Root)
.ExecuteWithCapturedOutput("prefercliruntime")
.Should()
.Pass()
.And
.HaveStdOutContaining("Hello I prefer the cli runtime World!");;
.Should().Pass()
.And.HaveStdOutContaining("Hello I prefer the cli runtime World!");;
}
[Fact]