Skip to content

Commit ead2e98

Browse files
committed
Fix assertion in server config test
1 parent 7568cc7 commit ead2e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/de/php_perfect/intellij/ddev/php/server/ServerConfigManagerImplTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package de.php_perfect.intellij.ddev.php.server;
22

33
import com.intellij.testFramework.fixtures.BasePlatformTestCase;
4+
import com.intellij.util.PathUtil;
45
import com.jetbrains.php.config.servers.PhpServer;
56
import com.jetbrains.php.config.servers.PhpServersWorkspaceStateComponent;
67
import org.junit.Assert;
@@ -51,7 +52,7 @@ private void assertServerConfigMatches(ServerConfig serverConfig) {
5152

5253
var mapping = mappings.get(0);
5354

54-
Assert.assertEquals(serverConfig.getLocalPath(), mapping.getLocalRoot());
55+
Assert.assertEquals(serverConfig.getLocalPath(), PathUtil.toSystemDependentName(mapping.getLocalRoot()));
5556
Assert.assertEquals(serverConfig.getRemotePath(), mapping.getRemoteRoot());
5657
}
5758
}

0 commit comments

Comments
 (0)