Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/imports: suggest x for x_tests
golang.org/cl/170238 forgot that it's okay for an x_test to import a package in the same directory. Only skip the candidate if the package we're looking for has the same name as the one being fixed. Fixes golang/go#32440 Change-Id: I7806d9f4174ca217ac83887da5e23b28cd102095 Reviewed-on: https://go-review.googlesource.com/c/tools/+/181338 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
- Loading branch information
Showing
2 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters