File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ async def test_find_project_root_at_root():
613613 with tempfile .TemporaryDirectory () as temp_dir :
614614 os .makedirs (os .path .join (temp_dir , ".git" ))
615615 # in a git repo, find_project_root should not go beyond the git root
616- assert find_project_root (temp_dir , ".git" ) == temp_dir
616+ assert os . path . samefile ( find_project_root (temp_dir , ".git" ), temp_dir )
617617 assert find_project_root (temp_dir , ".vectorcode" ) is None
618618
619619
@@ -623,4 +623,4 @@ async def test_find_project_config_dir_at_root():
623623 git_dir = os .path .join (temp_dir , ".git" )
624624 os .makedirs (git_dir )
625625 # in a git repo, find_project_root should not go beyond the git root
626- assert await find_project_config_dir (temp_dir ) == git_dir
626+ assert os . path . samefile ( await find_project_config_dir (temp_dir ), git_dir )
You can’t perform that action at this time.
0 commit comments