src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
raw| 1 | # Test that wildcards don't look in useless directories. |
| 2 | |
| 3 | # First make sure that badpkg fails the list of '...'. |
| 4 | ! go list ./... |
| 5 | stderr badpkg |
| 6 | |
| 7 | # Check that the list of './goodpkg...' succeeds. That implies badpkg was skipped. |
| 8 | go list ./goodpkg... |
| 9 | |
| 10 | -- go.mod -- |
| 11 | module m |
| 12 | |
| 13 | go 1.16 |
| 14 | -- goodpkg/x.go -- |
| 15 | package goodpkg |
| 16 | -- badpkg/x.go -- |
| 17 | pkg badpkg |