-
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/test/marker: generalize codeaction with named args
Address a TODO to consolidate the three codeaction marks into one, by using named arguments to provide an optional end location and one of edit, result, or err. Along the way, I accidentally nuked my golden files after doing quite a lot of manual editing of the test cases. To restore them, implement a heuristic I've wanted for a while: when running with -update, add new golden files immediately after the first reference to them among test files. This is the convention we've been using, but previously we'd have to position the golden files manually. Change-Id: Ie78f759045aa0c07817d4eb21672be63e51c5067 Reviewed-on: https://go-review.googlesource.com/c/tools/+/627136 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information
Showing
36 changed files
with
840 additions
and
763 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
Oops, something went wrong.