mirror of https://github.com/golang/go.git
x/tools/internal/lsp/source: disable some tests for std lib changes
CL 425716 changes parser behavior for incorrect code (it is more lenient) which breaks a few lsp tests. Disable them for now so we can submit CL 425716. For golang/go#54511. For golang/go#54822. Change-Id: I00fa67e29628137f3e4e44c38e92094ea581a61b Reviewed-on: https://go-review.googlesource.com/c/tools/+/427654 Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Robert Griesemer <gri@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
parent
f16be35d92
commit
40cfafff02
|
|
@ -9,7 +9,8 @@ func _() {
|
|||
val string //@item(atVal, "val", "string", "var")
|
||||
)
|
||||
|
||||
[] //@complete(" //", PackageFoo)
|
||||
// disabled - see issue #54822
|
||||
[] // complete(" //", PackageFoo)
|
||||
|
||||
[]val //@complete(" //")
|
||||
|
||||
|
|
@ -33,7 +34,8 @@ func _() {
|
|||
|
||||
var s []myInt //@item(atS, "s", "[]myInt", "var")
|
||||
s = []m //@complete(" //", atMyInt)
|
||||
s = [] //@complete(" //", atMyInt, PackageFoo)
|
||||
// disabled - see issue #54822
|
||||
s = [] // complete(" //", atMyInt, PackageFoo)
|
||||
|
||||
var a [1]myInt
|
||||
a = [1]m //@complete(" //", atMyInt)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ type ncBar struct { //@item(structNCBar, "ncBar", "struct{...}", "struct")
|
|||
func _() {
|
||||
[]ncFoo{} //@item(litNCFoo, "[]ncFoo{}", "", "var")
|
||||
_ := ncBar{
|
||||
baz: [] //@complete(" //", structNCFoo, structNCBar)
|
||||
// disabled - see issue #54822
|
||||
baz: [] // complete(" //", structNCFoo, structNCBar)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- summary --
|
||||
CallHierarchyCount = 2
|
||||
CodeLensCount = 5
|
||||
CompletionsCount = 265
|
||||
CompletionsCount = 262
|
||||
CompletionSnippetCount = 106
|
||||
UnimportedCompletionsCount = 5
|
||||
DeepCompletionsCount = 5
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- summary --
|
||||
CallHierarchyCount = 2
|
||||
CodeLensCount = 5
|
||||
CompletionsCount = 266
|
||||
CompletionsCount = 263
|
||||
CompletionSnippetCount = 116
|
||||
UnimportedCompletionsCount = 5
|
||||
DeepCompletionsCount = 5
|
||||
|
|
|
|||
Loading…
Reference in New Issue