[vfs] fix test fixture so that fake eel fs can be access using eel api

GitOrigin-RevId: 8d6920f3ea7a4b3c3541d65f2b1db4ed48f2508b
This commit is contained in:
Mihail Buryakov
2025-09-23 14:57:05 +00:00
committed by intellij-monorepo-bot
parent 2993bdc3a7
commit cf26bc5101
@@ -55,7 +55,9 @@ internal class EelUnitTestFileSystem(val provider: FileSystemProvider, val os: E
else if (first.startsWith(fakeLocalRoot.replace(File.separatorChar, '/'))) {
first.substringAfter(fakeLocalRoot.replace(File.separatorChar, '/'))
}
else {
else if (first.replace(File.separatorChar, '/').startsWith('/')) {
first
} else {
null
}
if (remaining != null) {