-
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/regtest/marker: port rank and func_rank tests
Port a couple tests related to ranking. In both cases, some minor modifications to the test data were required: - In rank.txt, a couple literal completions had to be added, because the new marker tests don't disable literal completions (there is no setting to do so; the old marker tests reach into the internals). - In rank.txt a couple ranking assertions that require deep completion are disabled, because other @complete markers break if deep completion is enabled. An artifact of static options. - In func_rank.txt, an additional item is added where fuzzy matching found more results (old markers use the non-default caseinsensitive matching). As described in CL 538797, porting completion tests is a blocker for zero config gopls. For golang/go#57979 For golang/go#54845 Change-Id: I78f9a2b3b07db570b7c86b45d61c01941b9896ac Reviewed-on: https://go-review.googlesource.com/c/tools/+/538799 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
- Loading branch information
Showing
11 changed files
with
229 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.