Attempt to make URL comparison windoze proof

This commit is contained in:
Dave Syer 2013-12-16 07:02:45 +00:00
parent c78973e375
commit 99fd32d408

View File

@ -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