Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Apr 10, 2023
1 parent 7d8bea7 commit fa8b410
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tests/Microsoft.NET.Build.Tests/SourceLinkTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ public void Cpp()

buildCommand.Execute("-p:Platform=x64").Should().Pass();

Assert.True(false, string.Join(";", Directory.GetFileSystemEntries(testAsset.Path, searchPattern: "*.json", new EnumerationOptions() { RecurseSubdirectories = true})));

var outputDir = Path.Combine(testAsset.Path, "x64", "Debug");
var sourceLinkFilePath = Path.Combine(outputDir, "NETCoreCppCliTest.sourcelink.json");
var actualContent = File.ReadAllText(sourceLinkFilePath, Encoding.UTF8);
Expand Down

0 comments on commit fa8b410

Please sign in to comment.