Skip to content

Commit

Permalink
Fix test failing in Windows environment
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-jaskulski committed Nov 26, 2024
1 parent 4bc1871 commit caabb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Unit/Locator/GitRepositoryDirLocatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit caabb1d

Please sign in to comment.