We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164861c commit 097f0b7Copy full SHA for 097f0b7
launcher/src/test/java/org/springframework/boot/loader/thin/DependencyResolverSettingsTests.java
@@ -107,7 +107,7 @@ public void testRemoteRepository() throws Exception {
107
DependencyResolver resolver = DependencyResolver.instance();
108
Artifact artifact = new DefaultArtifact("com.example.maven:maven-simple:1.0");
109
File file = resolver.resolve(new Dependency(artifact, "compile"));
110
- assertThat(file.getAbsolutePath()).contains("settings/repo/.m2/repository/com/example");
+ assertThat(file.getAbsolutePath()).contains(new File("settings/repo/.m2/repository/com/example").getPath());
111
assertThat(file.exists());
112
}
113
0 commit comments