Skip to content

Commit

Permalink
modified file path to match all machines
Browse files Browse the repository at this point in the history
  • Loading branch information
aakgna committed Mar 3, 2024
1 parent c7707eb commit 8b9c04d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,20 +122,19 @@ public void testToJsonCustom() throws IOException {
new HashSet<>(List.of("Primordial", "Extension", "Application", "Synthetic"));
assertEquals(loaders.keySet(), loaderKeys);
assertEquals(stdlibs.length, loaders.get("Primordial").size());
assertEquals(loaders.get("Primordial").get(0), stdlibs[0]);
assertTrue(
loaders
.get("Primordial")
.get(0)
.contains(
"Java/JavaVirtualMachines/corretto-11.0.15/Contents/Home/jmods/java.base.jmod"));
"/Contents/Home/jmods/java.base.jmod"));
assertEquals(stdlibs.length, loaders.get("Application").size());
assertTrue(
loaders
.get("Application")
.get(0)
.contains(
"Java/JavaVirtualMachines/corretto-11.0.15/Contents/Home/jmods/java.base.jmod"));
"/Contents/Home/jmods/java.base.jmod"));
assertEquals(0, loaders.get("Extension").size());
assertEquals(0, loaders.get("Synthetic").size());
}
Expand Down

0 comments on commit 8b9c04d

Please sign in to comment.