File tree 1 file changed +5
-3
lines changed
spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,11 @@ public void urlsFromJarClassPathAreConsidered() throws Exception {
79
79
URL projectCore = makeUrl ("project-core" );
80
80
URL projectWeb = makeUrl ("project-web" );
81
81
File relative = this .temporaryFolder .newFolder ();
82
- ChangeableUrls urls = ChangeableUrls .fromUrlClassLoader (new URLClassLoader (
83
- new URL [] { makeJarFileWithUrlsInManifestClassPath (projectCore ,
84
- projectWeb , relative .getName () + "/" ), makeJarFileWithNoManifest () }));
82
+ ChangeableUrls urls = ChangeableUrls
83
+ .fromUrlClassLoader (new URLClassLoader (new URL [] {
84
+ makeJarFileWithUrlsInManifestClassPath (projectCore , projectWeb ,
85
+ relative .getName () + "/" ),
86
+ makeJarFileWithNoManifest () }));
85
87
assertThat (urls .toList (),
86
88
contains (projectCore , projectWeb , relative .toURI ().toURL ()));
87
89
}
You can’t perform that action at this time.
0 commit comments