Text file src/cmd/go/testdata/script/mod_graph.txt
1 env GO111MODULE=on 2 3 go mod graph 4 stdout '^m rsc.io/quote@v1.5.2$' 5 stdout '^rsc.io/quote@v1.5.2 rsc.io/sampler@v1.3.0$' 6 ! stdout '^m rsc.io/sampler@v1.3.0$' 7 ! stderr 'get '$GOPROXY 8 9 rm $GOPATH/pkg/mod/cache/download/rsc.io/quote 10 go mod graph -x 11 stderr 'get '$GOPROXY 12 13 -- go.mod -- 14 module m 15 require rsc.io/quote v1.5.2 16