aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
blob: 74ca315a72aa7d08228aca6d927fca81512e6568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Test that wildcards don't look in useless directories.

# First make sure that badpkg fails the list of '...'.
! go list ...
stderr badpkg

# Check that the list of 'm...' succeeds. That implies badpkg was skipped.
go list m...

-- m/x.go --
package m
-- badpkg/x.go --
pkg badpkg