Text file src/cmd/go/testdata/script/mod_graph.txt
1 env GO111MODULE=on 2 3 go mod graph 4 stdout '^m rsc.io/[email protected]$' 5 stdout '^rsc.io/[email protected] rsc.io/[email protected]$' 6 ! stdout '^m rsc.io/[email protected]$' 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