Skip to content

Commit

Permalink
fix: sanitize separators in expected path
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenandpork committed Jan 9, 2025
1 parent f93b037 commit de9fb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ibazel/workspace/workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestAppleCaseInsensitivity(t *testing.T) {
},
"no workspace in workspace-named path": {
startingWD: "c/WORKSPACE",
wantPath: "/a",
wantPath: filepath.FromSlash("/a"),
dirs: []string{
"a/b",
"c/WORKSPACE",
Expand All @@ -97,7 +97,7 @@ func TestAppleCaseInsensitivity(t *testing.T) {
// the "WORKSPACE" dirname should not early-quit the search, allowing
// us to find /c/MODULE.bazel
startingWD: "c/d/WORKSPACE",
wantPath: "/c",
wantPath: filepath.FromSlash("/c"),
dirs: []string{
"a/b",
"c/d/WORKSPACE",
Expand Down

0 comments on commit de9fb40

Please sign in to comment.