Skip to content

Commit

Permalink
Merge pull request #1 from kusaeva/detect-tests-less-restrictive
Browse files Browse the repository at this point in the history
detect any directory with /test in path as test package
  • Loading branch information
kusaeva authored Aug 29, 2024
2 parents e0d10b4 + 19b7bae commit f27e6c2
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 f27e6c2

Please sign in to comment.