Browse Source

Attempt to make URL comparison windoze proof

pull/165/head
Dave Syer 12 years ago
parent
commit
99fd32d408
  1. 2
      spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/archive/ExplodedArchiveTests.java

2
spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/archive/ExplodedArchiveTests.java

@ -103,7 +103,7 @@ public class ExplodedArchiveTests { @@ -103,7 +103,7 @@ public class ExplodedArchiveTests {
@Test
public void getUrl() throws Exception {
URL url = this.archive.getUrl();
assertThat(url, equalTo(this.rootFolder.toURI().toURL()));
assertThat(new File(url.toURI()), equalTo(new File(this.rootFolder.toURI())));
}
@Test

Loading…
Cancel
Save