Debian Codegraph @

debian/patches/1001-Skip-gopls-internal-lsp-cmd-TestCapabilities.patch

raw
1 From: Shengjing Zhu <[email protected]>
2 Date: Tue, 7 Feb 2023 21:29:58 +0800
3 Subject: Skip gopls/internal/cmd TestCapabilities
4
5 Needs go mod
6
7 Forwarded: not-needed
8 ---
9 gopls/internal/cmd/capabilities_test.go | 1 +
10 1 file changed, 1 insertion(+)
11
12 diff --git a/gopls/internal/cmd/capabilities_test.go b/gopls/internal/cmd/capabilities_test.go
13 index a3a438f..5d5c4b2 100644
14 --- a/gopls/internal/cmd/capabilities_test.go
15 +++ b/gopls/internal/cmd/capabilities_test.go
16 @@ -21,6 +21,7 @@ import (
17 // TestCapabilities does some minimal validation of the server's adherence to the LSP.
18 // The checks in the test are added as changes are made and errors noticed.
19 func TestCapabilities(t *testing.T) {
20 + t.Skip("needs Go mod")
21 // server.DidOpen fails to obtain metadata without go command (e.g. on wasm).
22 testenv.NeedsTool(t, "go")
23