We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bc1871 commit caabb1dCopy full SHA for caabb1d
test/Unit/Locator/GitRepositoryDirLocatorTest.php
@@ -73,6 +73,6 @@ public function it_can_locate_git_dir_in_workspaces(): void
73
mkdir($worktreeRoot, 0777, true);
74
$this->filesystem->dumpFile($worktreeRoot.'/commondir', '../..');
75
$this->filesystem->dumpFile($this->gitDir, 'gitdir: '.$this->workspace.'/git_root/worktrees/git_worktree');
76
- $this->assertEquals($this->workspace.'/git_root', $this->locator->locate($this->gitDir));
+ $this->assertEquals($this->workspace.DIRECTORY_SEPARATOR.'git_root', $this->locator->locate($this->gitDir));
77
}
78
0 commit comments