| 1 |
From: Shengjing Zhu <[email protected]> |
| 2 |
Date: Tue, 21 Nov 2023 04:22:48 +0800 |
| 3 |
Subject: Fix typo GO111MODULES -> GO111MODULE |
| 4 |
|
| 5 |
--- |
| 6 |
internal/refactor/inline/everything_test.go | 2 +- |
| 7 |
internal/refactor/inline/inline_test.go | 2 +- |
| 8 |
2 files changed, 2 insertions(+), 2 deletions(-) |
| 9 |
|
| 10 |
diff --git a/internal/refactor/inline/everything_test.go b/internal/refactor/inline/everything_test.go |
| 11 |
index aecaa7d..4f27de3 100644 |
| 12 |
--- a/internal/refactor/inline/everything_test.go |
| 13 |
+++ b/internal/refactor/inline/everything_test.go |
| 14 |
@@ -60,7 +60,7 @@ func TestEverything(t *testing.T) { |
| 15 |
cfg := &packages.Config{ |
| 16 |
Mode: packages.LoadAllSyntax, |
| 17 |
Env: append(os.Environ(), |
| 18 |
|
| 19 |
+ "GO111MODULE=on", |
| 20 |
"GOPATH=", |
| 21 |
"GOWORK=off", |
| 22 |
"GOPROXY=off"), |
| 23 |
diff --git a/internal/refactor/inline/inline_test.go b/internal/refactor/inline/inline_test.go |
| 24 |
index 290cf85..4079857 100644 |
| 25 |
--- a/internal/refactor/inline/inline_test.go |
| 26 |
+++ b/internal/refactor/inline/inline_test.go |
| 27 |
@@ -115,7 +115,7 @@ func TestData(t *testing.T) { |
| 28 |
Dir: dir, |
| 29 |
Mode: packages.LoadAllSyntax, |
| 30 |
Env: append(os.Environ(), |
| 31 |
|
| 32 |
+ "GO111MODULE=on", |
| 33 |
"GOPATH=", |
| 34 |
"GOWORK=off", |
| 35 |
"GOPROXY=off"), |