Skip to content

Commit 6f8e4b4

Browse files
authored
Expect a SearchResult marker from DependencyInsight (#39)
* Expect a SearchResult marker from DependencyInsight * Also expect a bom entry for 2.12.4
1 parent 7e5e1d4 commit 6f8e4b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/java/io/moderne/devcenter/DevCenterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void devcenterWithMultipleLibraryUpgradeRecipesHasCorrectData() {
304304
mavenCentral()
305305
}
306306
dependencies {
307-
/*~~(org.springframework.boot:spring-boot:2.7.18,org.springframework.boot:spring-boot-starter-logging:2.7.18,org.springframework.boot:spring-boot-autoconfigure:2.7.18,org.springframework.boot:spring-boot-starter-web:2.7.18,org.springframework.boot:spring-boot-starter:2.7.18,org.springframework.boot:spring-boot-starter-tomcat:2.7.18,org.springframework.boot:spring-boot-starter-json:2.7.18)~~>*/implementation "org.springframework.boot:spring-boot-starter-web"
307+
/*~~(org.springframework.boot:spring-boot-autoconfigure:2.7.18,org.springframework.boot:spring-boot-starter-json:2.7.18,org.springframework.boot:spring-boot-starter-logging:2.7.18,org.springframework.boot:spring-boot-starter-tomcat:2.7.18,org.springframework.boot:spring-boot-starter-web:2.7.18,org.springframework.boot:spring-boot-starter:2.7.18,org.springframework.boot:spring-boot:2.7.18)~~>*/implementation "org.springframework.boot:spring-boot-starter-web"
308308
/*~~(commons-collections:commons-collections:2.0)~~>*/implementation "commons-collections:commons-collections:2.0"
309309
}
310310
"""

src/test/java/io/moderne/devcenter/LibraryUpgradeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ void minorUpgrade(String targetVersion, String currentVersion, SemverMeasure sem
7474
<artifactId>example</artifactId>
7575
<version>1.0-SNAPSHOT</version>
7676
<dependencies>
77-
<!--~~>--><dependency>
77+
<!--~~(com.fasterxml.jackson.core:jackson-annotations:%1$s,com.fasterxml.jackson.core:jackson-core:%1$s,com.fasterxml.jackson.core:jackson-databind:%1$s,com.fasterxml.jackson.module:jackson-module-parameter-names:%1$s,com.fasterxml.jackson:jackson-bom:%1$s)~~>--><dependency>
7878
<groupId>com.fasterxml.jackson.module</groupId>
7979
<artifactId>jackson-module-parameter-names</artifactId>
80-
<version>%s</version>
80+
<version>%1$s</version>
8181
</dependency>
8282
</dependencies>
8383
</project>

0 commit comments

Comments
 (0)