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

     1  env GO111MODULE=on
     2  
     3  go get
     4  go list -m all
     5  stdout '^rsc.io/quote v1.5.2'
     6  stdout '^rsc.io/QUOTE v1.5.2'
     7  
     8  go list -f 'DIR {{.Dir}} DEPS {{.Deps}}' rsc.io/QUOTE/QUOTE
     9  stdout 'DEPS.*rsc.io/quote'
    10  stdout 'DIR.*!q!u!o!t!e'
    11  
    12  go get rsc.io/QUOTE@v1.5.3-PRE
    13  go list -m all
    14  stdout '^rsc.io/QUOTE v1.5.3-PRE'
    15  
    16  go list -f '{{.Dir}}' rsc.io/QUOTE/QUOTE
    17  stdout '!q!u!o!t!e@v1.5.3-!p!r!e'
    18  
    19  -- go.mod --
    20  module x
    21  
    22  -- use.go --
    23  package use
    24  
    25  import _ "rsc.io/QUOTE/QUOTE"
    26  

View as plain text