aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2018-08-02 12:11:46 -0400
committerBryan C. Mills <bcmills@google.com>2018-08-02 21:56:27 +0000
commit6eabfab438fa504df234a079411a3b153257b338 (patch)
tree9ebb6a11132a080cae9fdb7f63b587fa0396696b
parent16ec18084e246b4a8dacf8bd1386e7f5c649eeab (diff)
downloadgo-6eabfab438fa504df234a079411a3b153257b338.tar.gz
go-6eabfab438fa504df234a079411a3b153257b338.zip
cmd/go: move mod_tidy.txt from testdata/mod to testdata/src
This file is clearly a script test, not a module definition, but it's in the wrong directory to be run as one. Fortunately, it passes with only minor modifications (changing “..” to “.”). Change-Id: I66a544dfde82b8348108d2596c74e174157ae297 Reviewed-on: https://go-review.googlesource.com/127615 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/cmd/go/testdata/script/mod_tidy.txt (renamed from src/cmd/go/testdata/mod/mod_tidy.txt)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/go/testdata/mod/mod_tidy.txt b/src/cmd/go/testdata/script/mod_tidy.txt
index 764797c254..86434af7f3 100644
--- a/src/cmd/go/testdata/mod/mod_tidy.txt
+++ b/src/cmd/go/testdata/script/mod_tidy.txt
@@ -19,11 +19,11 @@ require (
w.1 v1.2.0
)
-replace x.1 v1.0.0 => ../x
-replace y.1 v1.0.0 => ../y
-replace z.1 v1.1.0 => ../z
-replace z.1 v1.2.0 => ../z
-replace w.1 => ../w
+replace x.1 v1.0.0 => ./x
+replace y.1 v1.0.0 => ./y
+replace z.1 v1.1.0 => ./z
+replace z.1 v1.2.0 => ./z
+replace w.1 => ./w
-- m.go --
package m