Skip to content

Commit

Permalink
chore: update Microsoft.Build.Traversal SDK version to 4.1.0 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
batkaevruslan authored Jan 14, 2024
1 parent 0a66e08 commit 2de16bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class TraversalProjectOutputFormatter : IOutputFormatter

public Task<string> Format(IEnumerable<IProjectInfo> projects)
{
var projectRootElement = @"<Project Sdk=""Microsoft.Build.Traversal/3.0.3""></Project>";
var projectRootElement = @"<Project Sdk=""Microsoft.Build.Traversal/4.1.0""></Project>";
var stringReader = new StringReader(projectRootElement);
var xmlReader = new XmlTextReader(stringReader);
var root = ProjectRootElement.Create(xmlReader);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public async Task Using_single_project_should_contain_project()
var output = await formatter.Format(projects);

CustomAssertions.LineSequenceEquals(output,
l => Assert.Contains("Microsoft.Build.Traversal/3.0.3", l),
l => Assert.Contains("Microsoft.Build.Traversal/4.1.0", l),
l => Assert.Contains("ItemGroup", l),
l => Assert.Contains(projectPath, l),
l => Assert.Contains("ItemGroup", l),
Expand All @@ -44,7 +44,7 @@ public async Task Using_multiple_projects_should_contain_them_all()
var output = await formatter.Format(projects);

CustomAssertions.LineSequenceEquals(output,
l => Assert.Contains("Microsoft.Build.Traversal/3.0.3", l),
l => Assert.Contains("Microsoft.Build.Traversal/4.1.0", l),
l => Assert.Contains("ItemGroup", l),
l => Assert.Contains(secondProjectPath, l),
l => Assert.Contains(firstProjectPath, l),
Expand Down

0 comments on commit 2de16bc

Please sign in to comment.