diff --git a/src/test/java/org/reflections/VfsTest.java b/src/test/java/org/reflections/VfsTest.java index 99ccf49c..12e80675 100644 --- a/src/test/java/org/reflections/VfsTest.java +++ b/src/test/java/org/reflections/VfsTest.java @@ -110,7 +110,7 @@ public void vfsFromDirWithJarInName() throws MalformedURLException { try { Vfs.Dir dir = Vfs.fromURL(new URL(format("file:{0}", dirWithJarInName))); - assertEquals(dirWithJarInName, dir.getPath()); + assertEquals(dirWithJarInName.replace("\\", "/"), dir.getPath()); assertEquals(SystemDir.class, dir.getClass()); } finally { newDir.delete(); @@ -131,4 +131,4 @@ private void testVfsDir(Vfs.Dir dir) { String className = mdAdapter.getClassName(stringCF); assertFalse(className.isEmpty()); } -} \ No newline at end of file +}