Fix path issue in assertion for DotNetDependencyProviderTests

This commit is contained in:
Prafull Bhosale 2016-10-12 14:39:12 -07:00
parent fd6df3c74d
commit 0627d859af
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ namespace Microsoft.Extensions.ProjectModel.DotNet
.First();
Assert.True(Directory.Exists(mvcPackage.Path));
Assert.True(mvcPackage.Path.EndsWith($"Microsoft.AspNetCore.Mvc/1.0.0", StringComparison.OrdinalIgnoreCase));
Assert.True(mvcPackage.Path.EndsWith($"Microsoft.AspNetCore.Mvc{Path.DirectorySeparatorChar}1.0.0", StringComparison.OrdinalIgnoreCase), mvcPackage.Path);
Assert.True(context.ProjectReferences.First().Equals(Path.Combine(fileProvider.Root, "demoLib", "project.json")));
}