1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Shengjing Zhu <zhsj@debian.org>
Date: Tue, 17 Nov 2020 02:42:24 +0800
Subject: skip test needs go mod
---
go/packages/overlay_test.go | 1 +
internal/lsp/cmd/capabilities_test.go | 1 +
2 files changed, 2 insertions(+)
diff --git a/go/packages/overlay_test.go b/go/packages/overlay_test.go
index 8ce5a7c..b952582 100644
--- a/go/packages/overlay_test.go
+++ b/go/packages/overlay_test.go
@@ -1032,6 +1032,7 @@ func Hi() {
// This does not use go/packagestest because it needs to write a replace
// directive with an absolute path in one of the module's go.mod files.
func TestOverlaysInReplace(t *testing.T) {
+ t.Skip("needs Go mod")
// Create module b.com in a temporary directory. Do not add any Go files
// on disk.
tmpPkgs, err := ioutil.TempDir("", "modules")
diff --git a/internal/lsp/cmd/capabilities_test.go b/internal/lsp/cmd/capabilities_test.go
index 7b6d3bd..bb29a59 100644
--- a/internal/lsp/cmd/capabilities_test.go
+++ b/internal/lsp/cmd/capabilities_test.go
@@ -16,6 +16,7 @@ import (
// TestCapabilities does some minimal validation of the server's adherence to the LSP.
// The checks in the test are added as changes are made and errors noticed.
func TestCapabilities(t *testing.T) {
+ t.Skip("needs go mod")
tmpDir, err := ioutil.TempDir("", "fake")
if err != nil {
t.Fatal(err)
|