aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_download_replace_file.txt
blob: f6ab4fe91f0960cd4f133050b344907ddebbacf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This test checks that 'go mod download' produces no output for
# the main module (when specified implicitly) and for a module replaced
# with a file path.
# Verifies golang.org/issue/35505.
go mod download -json all
cmp stdout no-output

-- go.mod --
module example.com/a

require example.com/b v1.0.0

replace example.com/b => ./local/b
-- local/b/go.mod --
module example.com/b
-- no-output --