...

Text file src/cmd/go/testdata/script/mod_list_upgrade.txt

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3# Populate go.sum
     4go list -m -mod=mod all
     5
     6# Check for upgrades.
     7go list -m -u all
     8stdout 'rsc.io/quote v1.2.0 \[v1\.5\.2\]'
     9
    10-- go.mod --
    11module x
    12require rsc.io/quote v1.2.0

View as plain text