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

     1  ! go list all
     2  ! stderr 'panic'
     3  stderr 'invalid import path'
     4  
     5  # go list produces a package for 'p' but not for ''
     6  go list -e all
     7  cmp stdout wantlist.txt
     8  -- wantlist.txt --
     9  example.com/e
    10  -- go.mod --
    11  module example.com/e
    12  
    13  go 1.25
    14  -- p.go --
    15  package p
    16  
    17  import ""

View as plain text