Commit 2b2a44e
committed
gopls/internal/test: avoid panic in TestDoubleParamReturnCompletion
An invalid assumption in this test led to an out of bounds error, which
likely masked a real error or timeout. Update the test to not panic, and
factor.
Fixes golang/go#71906
Change-Id: Ib01d3b75df8bdb71984457807312cfe1d27ddf73
Reviewed-on: https://go-review.googlesource.com/c/tools/+/651896
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>1 parent 739a5af commit 2b2a44e
File tree
1 file changed
+13
-17
lines changed- gopls/internal/test/integration/completion
1 file changed
+13
-17
lines changedLines changed: 13 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
1221 | | - | |
1222 | | - | |
1223 | | - | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
1224 | 1218 | | |
1225 | 1219 | | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1234 | 1230 | | |
1235 | 1231 | | |
1236 | 1232 | | |
| |||
0 commit comments