]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: move mod_tidy.txt from testdata/mod to testdata/src
authorBryan C. Mills <bcmills@google.com>
Thu, 2 Aug 2018 16:11:46 +0000 (12:11 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 2 Aug 2018 21:56:27 +0000 (21:56 +0000)
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>
src/cmd/go/testdata/script/mod_tidy.txt [moved from src/cmd/go/testdata/mod/mod_tidy.txt with 82% similarity]

similarity index 82%
rename from src/cmd/go/testdata/mod/mod_tidy.txt
rename to src/cmd/go/testdata/script/mod_tidy.txt
index 764797c25456a2135464785a8e814edf51c5cbf2..86434af7f36519b5abbb0d2c5e8f7a64cbc9919a 100644 (file)
@@ -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