IJ-CR-6485 IDEA-263365 - fix VfsUtilCore.pathEqualsTo for WSL paths master
authorAlexander Bubenchikov <alexander.bubenchikov@jetbrains.com>
Wed, 3 Mar 2021 16:54:49 +0000 (19:54 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 3 Mar 2021 17:52:24 +0000 (17:52 +0000)
GitOrigin-RevId: 82e37bd19f6018c42f29376fcd9869ad9dc90c7d

platform/platform-tests/testSrc/com/intellij/openapi/vfs/VfsUtilTest.java

index 1494166ec2d239d18c6ef6ec19c1d2ea870cea2c..91549593210ce8ee51b6fb36ddfc567770b28e2e 100644 (file)
@@ -556,5 +556,6 @@ public class VfsUtilTest extends BareTestFixtureTestCase {
     assertTrue(VfsUtilCore.pathEqualsTo(file, "\\\\wsl$\\" + wslName + "\\usr\\bin\\"));
     assertTrue(VfsUtilCore.pathEqualsTo(file, "//wsl$/" + wslName + "/usr/bin"));
     assertTrue(VfsUtilCore.pathEqualsTo(file, "//wsl$/" + wslName + "/usr/bin/"));
+    assertFalse(VfsUtilCore.pathEqualsTo(file, "//xxx$/" + wslName + "/usr/bin/"));
   }
 }
\ No newline at end of file