aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_relative_import_dash_i.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/test_relative_import_dash_i.txt')
-rw-r--r--src/cmd/go/testdata/script/test_relative_import_dash_i.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/test_relative_import_dash_i.txt b/src/cmd/go/testdata/script/test_relative_import_dash_i.txt
index dafa04ef02..b2716d8403 100644
--- a/src/cmd/go/testdata/script/test_relative_import_dash_i.txt
+++ b/src/cmd/go/testdata/script/test_relative_import_dash_i.txt
@@ -1,4 +1,5 @@
# Relative imports in go test -i
+env GO111MODULE=off # relative import not supported in module mode
# Run tests outside GOPATH.
env GOPATH=$WORK/tmp
@@ -28,4 +29,4 @@ func TestF(t *testing.T) {
if F() != p1.F() {
t.Fatal(F())
}
-} \ No newline at end of file
+}