From 6eabfab438fa504df234a079411a3b153257b338 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 2 Aug 2018 12:11:46 -0400 Subject: [PATCH] cmd/go: move mod_tidy.txt from testdata/mod to testdata/src MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/cmd/go/testdata/{mod => script}/mod_tidy.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename src/cmd/go/testdata/{mod => script}/mod_tidy.txt (82%) diff --git a/src/cmd/go/testdata/mod/mod_tidy.txt b/src/cmd/go/testdata/script/mod_tidy.txt similarity index 82% rename from src/cmd/go/testdata/mod/mod_tidy.txt rename to src/cmd/go/testdata/script/mod_tidy.txt index 764797c25456a2..86434af7f36519 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