Skip to content

Commit

Permalink
Ignore comparison of repo URI for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fabapp2 committed Nov 7, 2023
1 parent f0baf40 commit 1202530
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.openrewrite.maven.MavenSettings;
import org.openrewrite.maven.tree.MavenResolutionResult;
import org.openrewrite.maven.tree.ResolvedDependency;
import org.openrewrite.maven.tree.ResolvedGroupArtifactVersion;
import org.openrewrite.maven.tree.Scope;
import org.openrewrite.style.Style;
import org.springframework.sbm.parsers.ParserProperties;
Expand Down Expand Up @@ -272,9 +273,9 @@ private void compareMavenResolutionResultMarker(SoftAssertions softAssertions, M

softAssertions.assertThat(testedDependencies)
.usingRecursiveComparison()
.ignoringFieldsOfTypes(URI.class) // FIXME: Difference in URI, file:/ vs. file:///
.ignoringFieldsOfTypes(
UUID.class
UUID.class,
ResolvedGroupArtifactVersion.class // FIXME: Difference in repository URI, file:/ vs. file:///
)
.isEqualTo(comparingDependencies);
});
Expand Down

0 comments on commit 1202530

Please sign in to comment.