From 8b9c04dee4fdbf1bc1f5185dc8ab5777f96c45aa Mon Sep 17 00:00:00 2001 From: Aakash Gnanakumar Date: Sun, 3 Mar 2024 15:11:27 -0800 Subject: [PATCH] modified file path to match all machines --- .../java/com/ibm/wala/core/tests/cha/AnalysisScopeTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/com/ibm/wala/core/tests/cha/AnalysisScopeTest.java b/core/src/test/java/com/ibm/wala/core/tests/cha/AnalysisScopeTest.java index 65a68d884d..ceaedd7694 100644 --- a/core/src/test/java/com/ibm/wala/core/tests/cha/AnalysisScopeTest.java +++ b/core/src/test/java/com/ibm/wala/core/tests/cha/AnalysisScopeTest.java @@ -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()); }