Skip to content

Commit 5bf8da9

Browse files
committed
Ensure circle is broken.
1 parent c06e0dd commit 5bf8da9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/IKVM.Maven.Sdk.Tasks.Tests/MavenReferenceItemResolveTests.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ public void CanResolveCircularDependency()
545545
var pkg1 = t.ResolvedReferences.First(i => i.ItemSpec == "maven$org.apache.commons:commons-text:1.11.0");
546546
pkg1.GetMetadata("References").Split(';').Should().Contain("maven$org.apache.commons:commons-lang3:3.13.0");
547547
var pkg2 = t.ResolvedReferences.First(i => i.ItemSpec == "maven$org.apache.commons:commons-lang3:3.13.0");
548-
pkg2.GetMetadata("References").Split(';').Should().Contain("maven$org.apache.commons:commons-text:1.11.0");
548+
549+
// we break the circle so we can actually build them
550+
pkg2.GetMetadata("References").Split(';').Should().NotContain("maven$org.apache.commons:commons-text:1.11.0");
549551
}
550552

551553
[TestMethod]

0 commit comments

Comments
 (0)