diff --git a/test/Unit/Locator/GitRepositoryDirLocatorTest.php b/test/Unit/Locator/GitRepositoryDirLocatorTest.php index f49caa92..d30e1629 100644 --- a/test/Unit/Locator/GitRepositoryDirLocatorTest.php +++ b/test/Unit/Locator/GitRepositoryDirLocatorTest.php @@ -73,6 +73,6 @@ public function it_can_locate_git_dir_in_workspaces(): void mkdir($worktreeRoot, 0777, true); $this->filesystem->dumpFile($worktreeRoot.'/commondir', '../..'); $this->filesystem->dumpFile($this->gitDir, 'gitdir: '.$this->workspace.'/git_root/worktrees/git_worktree'); - $this->assertEquals($this->workspace.'/git_root', $this->locator->locate($this->gitDir)); + $this->assertEquals($this->workspace.DIRECTORY_SEPARATOR.'git_root', $this->locator->locate($this->gitDir)); } }