-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/golang: generate test name for selected function/method
This CL interpret the user's intention by reading the x_test.go's package name. If the x_test.go exist and is using package name x, we allow adding test for unexported function/method. If the x_test.go does not exist or it exist but using package name x_test, we will only allow adding test for exported function/methods. For golang/vscode-go#1594 Change-Id: I20f6c41dc4c53bb816b40982a0ebbbcb1e3a92e7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/621675 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
2 changed files
with
264 additions
and
42 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
Oops, something went wrong.