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

     1  ! go list -m -json all
     2  stderr 'go: module example.com/foo appears multiple times in workspace'
     3  
     4  -- go.work --
     5  go 1.18
     6  
     7  use (
     8          ./a
     9          ./b
    10  )
    11  -- a/go.mod --
    12  module example.com/foo
    13  
    14  go 1.18
    15  
    16  -- b/go.mod --
    17  module example.com/foo
    18  
    19  go 1.18
    20  

View as plain text