Improving the test slightly by checking that it is finding the correct path to the tool dll.
This commit is contained in:
parent
10e743e8e5
commit
a4300cc069
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue