Skip to content

Commit 1b78eeb

Browse files
authored
Merge pull request #50 from phantom5099/fork-pr-394-1776826146
fix: resolve workspace_test merge conflict
2 parents b174fae + 35f51a7 commit 1b78eeb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

internal/security/workspace_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -618,9 +618,8 @@ func TestAbsoluteWorkspaceTarget(t *testing.T) {
618618
if err != nil {
619619
t.Fatalf("filepath.Abs(%q): %v", tt.want, err)
620620
}
621-
wantCanonical := cleanedPathKey(wantAbs)
622-
if got != wantCanonical {
623-
t.Fatalf("absoluteWorkspaceTarget() = %q, want %q", got, wantCanonical)
621+
if !samePathKey(got, wantAbs) {
622+
t.Fatalf("absoluteWorkspaceTarget() = %q, want %q", got, filepath.Clean(wantAbs))
624623
}
625624
})
626625
}

0 commit comments

Comments
 (0)