Improving the test slightly by checking that it is finding the correct path to the tool dll.

This commit is contained in:
Livar Cunha 2017-03-23 22:26:25 -07:00
parent 10e743e8e5
commit a4300cc069

View file

@ -375,6 +375,15 @@ namespace Microsoft.DotNet.Tests
var result = projectToolsCommandResolver.Resolve(commandResolverArguments);
result.Should().NotBeNull();
var commandPath = result.Args.Trim('"');
commandPath.Should().Contain(Path.Combine(
fallbackFolder,
"dotnet-fallbackfoldertool",
"1.0.0",
"lib",
"netcoreapp2.0",
"dotnet-fallbackfoldertool.dll"));
}
private void PopulateFallbackFolder(string testProjectDirectory, string fallbackFolder)