blob: 02b1088297025857f00394e075116fde918ad49e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# 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 './goodpkg...' succeeds. That implies badpkg was skipped.
go list ./goodpkg...
-- go.mod --
module m
go 1.16
-- goodpkg/x.go --
package goodpkg
-- badpkg/x.go --
pkg badpkg
|