...

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

Documentation: cmd/go/testdata/script

     1[!symlink] skip
     2env GO111MODULE=off
     3
     4# Issue 35941: suppress symlink warnings when running 'go list all'.
     5symlink goproj/css -> $GOPATH/src/css
     6
     7go list all
     8! stderr 'warning: ignoring symlink'
     9
    10# Show symlink warnings when patterns contain '...'.
    11go list goproj/...
    12stderr 'warning: ignoring symlink'
    13
    14-- goproj/a.go --
    15package a
    16
    17-- css/index.css --
    18body {}

View as plain text