Skip to content

Commit

Permalink
Ensure circle is broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Aug 27, 2024
1 parent c06e0dd commit 5bf8da9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,9 @@ public void CanResolveCircularDependency()
var pkg1 = t.ResolvedReferences.First(i => i.ItemSpec == "maven$org.apache.commons:commons-text:1.11.0");
pkg1.GetMetadata("References").Split(';').Should().Contain("maven$org.apache.commons:commons-lang3:3.13.0");
var pkg2 = t.ResolvedReferences.First(i => i.ItemSpec == "maven$org.apache.commons:commons-lang3:3.13.0");
pkg2.GetMetadata("References").Split(';').Should().Contain("maven$org.apache.commons:commons-text:1.11.0");

// we break the circle so we can actually build them
pkg2.GetMetadata("References").Split(';').Should().NotContain("maven$org.apache.commons:commons-text:1.11.0");
}

[TestMethod]
Expand Down

0 comments on commit 5bf8da9

Please sign in to comment.