File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
rewrite-maven/src/test/java/org/openrewrite/maven Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4882,10 +4882,9 @@ void groupIdAndArtifactIdAsProperties() {
48824882 assertThat (pom ).isNotNull ();
48834883 Optional <MavenResolutionResult > maybeMrr = pom .getMarkers ().findFirst (MavenResolutionResult .class );
48844884 assertThat (maybeMrr ).isPresent ();
4885-
4886- MavenResolutionResult mrr = maybeMrr .get ();
4887- assertThat (mrr .getDependencies ().get (Scope .Compile ).stream ())
4888- .anyMatch (resolvedDependency -> "org.springframework" .equals (resolvedDependency .getGroupId ()) &&
4885+ assertThat (maybeMrr .get ().getDependencies ().get (Scope .Compile ))
4886+ .anyMatch (resolvedDependency ->
4887+ "org.springframework" .equals (resolvedDependency .getGroupId ()) &&
48894888 "spring-core" .equals (resolvedDependency .getArtifactId ()) &&
48904889 "6.2.15" .equals (resolvedDependency .getVersion ()));
48914890 })
You can’t perform that action at this time.
0 commit comments