...

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

Documentation: cmd/go/testdata/script

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

View as plain text