Skip to content

Commit 097f0b7

Browse files
acavanodsyer
authored andcommitted
Fixed Linux-only test
1 parent 164861c commit 097f0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher/src/test/java/org/springframework/boot/loader/thin/DependencyResolverSettingsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void testRemoteRepository() throws Exception {
107107
DependencyResolver resolver = DependencyResolver.instance();
108108
Artifact artifact = new DefaultArtifact("com.example.maven:maven-simple:1.0");
109109
File file = resolver.resolve(new Dependency(artifact, "compile"));
110-
assertThat(file.getAbsolutePath()).contains("settings/repo/.m2/repository/com/example");
110+
assertThat(file.getAbsolutePath()).contains(new File("settings/repo/.m2/repository/com/example").getPath());
111111
assertThat(file.exists());
112112
}
113113

0 commit comments

Comments
 (0)