Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
83b2abebb7
commit
71dc6d9ceb
|
@ -197,6 +197,7 @@ public class MavenLocalRepoFileInitializerTest
|
|||
is("https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/9.4.10.v20180503/jetty-http-9.4.10.v20180503-tests.jar"));
|
||||
|
||||
Path destination = Paths.get(System.getProperty( "java.io.tmpdir" ), "jetty-http-9.4.10.v20180503-tests.jar");
|
||||
Files.deleteIfExists( destination );
|
||||
repo.download( coords.toCentralURI(), destination);
|
||||
assertThat( Files.exists(destination), is( true ));
|
||||
assertThat( destination.toFile().length(), is(962621L));
|
||||
|
|
Loading…
Reference in New Issue