See gh-39910
This commit is contained in:
Johnny Lim
2024-03-12 23:23:00 +09:00
committed by Moritz Halbritter
parent 24218ac4a8
commit 412b8dd548
13 changed files with 18 additions and 18 deletions

View File

@@ -113,7 +113,7 @@ class JarFileArchiveTests {
URL url = urls.iterator().next();
assertThat(url).isNotEqualTo(JarUrl.create(this.file, "nested.jar"));
// The unpack URL must be a raw file URL (see gh-38833)
assertThat(url.toString()).startsWith("file:").endsWith("/nested.jar").doesNotStartWith("jar:");
assertThat(url.toString()).startsWith("file:").endsWith("/nested.jar");
}
@Test