mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polishing
This commit is contained in:
parent
1fbd43bdf0
commit
b554894bb4
@ -79,9 +79,11 @@ public class ChangeableUrlsTests {
|
||||
URL projectCore = makeUrl("project-core");
|
||||
URL projectWeb = makeUrl("project-web");
|
||||
File relative = this.temporaryFolder.newFolder();
|
||||
ChangeableUrls urls = ChangeableUrls.fromUrlClassLoader(new URLClassLoader(
|
||||
new URL[] { makeJarFileWithUrlsInManifestClassPath(projectCore,
|
||||
projectWeb, relative.getName() + "/"), makeJarFileWithNoManifest() }));
|
||||
ChangeableUrls urls = ChangeableUrls
|
||||
.fromUrlClassLoader(new URLClassLoader(new URL[] {
|
||||
makeJarFileWithUrlsInManifestClassPath(projectCore, projectWeb,
|
||||
relative.getName() + "/"),
|
||||
makeJarFileWithNoManifest() }));
|
||||
assertThat(urls.toList(),
|
||||
contains(projectCore, projectWeb, relative.toURI().toURL()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user