Fixing new test to work crossplat by calculating path with Path.Combine
This commit is contained in:
parent
6a72ec603e
commit
49ae86d09f
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
var projectReferences = mockProj.Items.Where(
|
||||
item => item.ItemType.Equals("ProjectReference", StringComparison.Ordinal));
|
||||
projectReferences.Should().ContainSingle();
|
||||
projectReferences.Single().Include.Should().Be("../src/ProjectA/ProjectA.csproj");
|
||||
projectReferences.Single().Include.Should().Be(Path.Combine("..", "src", "ProjectA", "ProjectA.csproj"));
|
||||
}
|
||||
|
||||
private ProjectRootElement MigrateProject(string solution, string project)
|
||||
|
|
Loading…
Reference in a new issue