Text file src/cmd/go/testdata/script/mod_download_replace_file.txt
1 # This test checks that 'go mod download' produces no output for 2 # the main module (when specified implicitly) and for a module replaced 3 # with a file path. 4 # Verifies golang.org/issue/35505. 5 go mod download -json all 6 cmp stdout no-output 7 8 -- go.mod -- 9 module example.com/a 10 11 require example.com/b v1.0.0 12 13 replace example.com/b => ./local/b 14 -- local/b/go.mod -- 15 module example.com/b 16 -- no-output -- 17