mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Add assertion about non-special resource
This commit is contained in:
parent
80652007b5
commit
34604a9602
@ -90,6 +90,7 @@ public class JarFileTests {
|
|||||||
URL jarUrl = new URL("jar:" + this.rootJarFile.toURI() + "!/");
|
URL jarUrl = new URL("jar:" + this.rootJarFile.toURI() + "!/");
|
||||||
URLClassLoader urlClassLoader = new URLClassLoader(new URL[] { jarUrl });
|
URLClassLoader urlClassLoader = new URLClassLoader(new URL[] { jarUrl });
|
||||||
assertThat(urlClassLoader.getResource("special/\u00EB.dat"), notNullValue());
|
assertThat(urlClassLoader.getResource("special/\u00EB.dat"), notNullValue());
|
||||||
|
assertThat(urlClassLoader.getResource("d/9.dat"), notNullValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user