Skip to content

Commit

Permalink
Remove assertion
Browse files Browse the repository at this point in the history
- depending on the machine configuration the scanner can install the targets in more than 6 directories.
  • Loading branch information
costin-zaharia-sonarsource committed Feb 9, 2024
1 parent 319f7d4 commit c8ed6ef
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public void InstallTargetsFile_Overwrite()
var msBuildPathSettings = new MsBuildPathSettings();

InstallTargetsFileAndAssert(sourceTargetsContent1, expectCopy: true);
msBuildPathSettings.GetImportBeforePaths().Should().HaveCount(7, "Expecting six destination directories");

var path = Path.Combine(msBuildPathSettings.GetImportBeforePaths().First(), FileConstants.ImportBeforeTargetsName);
File.Delete(path);
Expand Down

0 comments on commit c8ed6ef

Please sign in to comment.