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

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

View as plain text