Skip to content

Commit caabb1d

Browse files
Fix test failing in Windows environment
1 parent 4bc1871 commit caabb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Unit/Locator/GitRepositoryDirLocatorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ public function it_can_locate_git_dir_in_workspaces(): void
7373
mkdir($worktreeRoot, 0777, true);
7474
$this->filesystem->dumpFile($worktreeRoot.'/commondir', '../..');
7575
$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));
76+
$this->assertEquals($this->workspace.DIRECTORY_SEPARATOR.'git_root', $this->locator->locate($this->gitDir));
7777
}
7878
}

0 commit comments

Comments
 (0)