mirror of https://github.com/golang/go.git
internal/lsp/testdata: change test case to work around CL 202581
go/parser has switched from reporting no position for the end of a broken file to reporting an invalid position. This broke on of our tests that contains broken code. Change the test case as a result. Change-Id: I4feb7790539994e593c56d5ae84929364c1eec1c Reviewed-on: https://go-review.googlesource.com/c/tools/+/204202 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
parent
5e247c9ad0
commit
889af361d2
|
|
@ -13,7 +13,7 @@ func _() {
|
|||
|
||||
func _() {
|
||||
var pineapple int //@item(pineapple, "pineapple", "int", "var")
|
||||
pineapple = //@complete(" /", pineapple, apple, pear)
|
||||
pineapple = 1 //@complete(" 1", pineapple, apple, pear)
|
||||
|
||||
y := //@complete(" /", pineapple, apple, pear)
|
||||
y := //@complete(" /", pineapple, apple, pear)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue