Skip to content

Commit

Permalink
Fix unit test slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed May 7, 2024
1 parent 6a0b8c9 commit cc8a17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/gazelle/private/java/java_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestIsTestPath(t *testing.T) {

for path, want := range tests {
t.Run(path, func(t *testing.T) {
dir := filepath.Dir(path)
dir := filepath.Dir(filepath.FromSlash(path))
if got := IsTestPath(dir); got != want {
t.Errorf("isTest() = %v, want %v", got, want)
}
Expand Down

0 comments on commit cc8a17d

Please sign in to comment.