We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454ff58 commit ccaad24Copy full SHA for ccaad24
src/test/java/edu/hm/hafner/util/ResourceExtractorTest.java
@@ -121,10 +121,10 @@ void shouldHandleClassloaderProblems() {
121
.isThrownBy(() -> new ResourceExtractor(ResourceExtractor.class, protectionDomain))
122
.withMessageContaining("CodeSource location path", "ResourceExtractor");
123
124
- when(url.getPath()).thenReturn("file://file.jar");
+ when(url.getPath()).thenReturn("file.jar");
125
ResourceExtractor extractor = new ResourceExtractor(ResourceExtractor.class, protectionDomain);
126
127
- assertThat(extractor.getResourcePath()).isEqualTo("file:/file.jar");
+ assertThat(extractor.getResourcePath()).isEqualTo("file.jar");
128
}
129
130
private String readToString(final Path output) {
0 commit comments