reflections icon indicating copy to clipboard operation
reflections copied to clipboard

mvn test failed

Open sunny-shu opened this issue 5 years ago • 1 comments

Failed tests: vfsFromDirWithJarInName(org.reflections.VfsTest): expected:<C:[\Users\ADMINI~1\AppData\Local\Temp\2]tony.jarvis> but was:<C:[/Users/ADMINI~1/AppData/Local/Temp/2/]tony.jarvis>

test case should consider platform compatibility

sunny-shu avatar Aug 01 '20 08:08 sunny-shu

I don't know why the separator here is changed manually. The path format returned by the method getPath() should be platform-compatible. https://github.com/ronmamo/reflections/blob/9a1ac08d59311a91f3dad06f0c831eccdc47f1e3/src/main/java/org/reflections/vfs/SystemDir.java#L28

dota17 avatar Aug 01 '20 09:08 dota17