Commit 4ee8992
gopls/internal/test/integration/completion: make test more go1.26-robust
Fix the name of the *testing.F function added in Go 1.26
(ArtifactDir, not Artifact), and sort it correctly.
Do not modify the want list in compareCompletionLabels, which causes
issues when a modified completion list is reused in a later test.
Updates golang/go#74987
Change-Id: I2d380979c346283a3eeedeb979b3747280018c93
Reviewed-on: https://go-review.googlesource.com/c/tools/+/709635
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>1 parent a03a1c2 commit 4ee8992
File tree
2 files changed
+2
-2
lines changed- gopls/internal/test/integration/completion
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
0 commit comments