Skip to content

Commit

Permalink
detect any directory with /test in path as test package
Browse files Browse the repository at this point in the history
  • Loading branch information
kusaeva authored Aug 29, 2024
1 parent e0d10b4 commit 19b7bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/gazelle/private/java/java.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func IsTestPackage(pkg string) bool {
}
}

return strings.Contains(pkg, "/test/")
return strings.Contains(pkg, "/test")
}

// This list was derived from a script along the lines of:
Expand Down

0 comments on commit 19b7bae

Please sign in to comment.