mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
internal/lsp: add continue to source_test
Noticed this because I was accidentally running these tests with Go 1.11. Change-Id: Ic35d71bd1da9078b4bde6aa2ed62d54a8b95b0e0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/186298 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org>
This commit is contained in:
parent
fefcef05ab
commit
919acb9f1f
@ -495,6 +495,7 @@ func (r *runner) Rename(t *testing.T, data tests.Renames) {
|
||||
ident, err := source.Identifier(r.ctx, r.view, f.(source.GoFile), pos)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
continue
|
||||
}
|
||||
changes, err := ident.Rename(r.ctx, newText)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user