Skip to content

Commit 7d5f58a

Browse files
committed
test: add go directive to fixtures
When running the debug adapter tests, the missing go directive gets added to the fixtures that are used. This adds the go directive to the go.mod files, so that when running the tests, ther are no unexpected changes. Change-Id: Icef235f0ca4ca9d12d2a40b3715aa875e43a6252 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/260203 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
1 parent 9e6fac4 commit 7d5f58a

File tree

13 files changed

+26
-0
lines changed

13 files changed

+26
-0
lines changed

test/fixtures/baseTest/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/basetest
2+
3+
go 1.14

test/fixtures/buildTags/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/buildtags
2+
3+
go 1.14

test/fixtures/completions/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/completions
2+
3+
go 1.14

test/fixtures/diffTestData/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/difftestdata
2+
3+
go 1.14

test/fixtures/errorsTest/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/errorstest
2+
3+
go 1.14

test/fixtures/fillStruct/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/fillstruct
2+
3+
go 1.14

test/fixtures/generatetests/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/generatetests
2+
3+
go 1.14
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/gogetdoctestdata
2+
3+
go 1.14

test/fixtures/importTest/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/importtest
2+
3+
go 1.14

test/fixtures/linterTest/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/microsoft/vscode-go/gofixtures/lintertest
2+
3+
go 1.14

0 commit comments

Comments
 (0)