Skip to content

Commit 3a76a64

Browse files
committed
go/packages/testdata: add go directives to fake module files
Stop fighting the behavior of the go tool when run in these directories. Updates golang/go#30790 Change-Id: I32dfeb0bafa3ed3664500f1768b2293e5257d09b Reviewed-on: https://go-review.googlesource.com/c/tools/+/168757 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
1 parent 8f249a1 commit 3a76a64

File tree

5 files changed

+10
-0
lines changed
  • go/packages/testdata
    • TestName_Modules/pkg/mod/github.com/heschik
    • TestName_ModulesDedup/pkg/mod/github.com/heschik

5 files changed

+10
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/heschik/tools-testrepo/v2
2+
3+
go 1.12
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/heschik/tools-testrepo
2+
3+
go 1.12
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/heschik/tools-testrepo/v2
2+
3+
go 1.12
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/heschik/tools-testrepo/v2
2+
3+
go 1.12
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/heschik/tools-testrepo
2+
3+
go 1.12

0 commit comments

Comments
 (0)