blob: 0154305c275e2faaa43c665764cb84ab654b418b (
plain)
1
2
3
4
5
6
7
8
9
10
|
! go build selfimport
stderr -count=1 'import cycle not allowed'
go list -e -f '{{.Error}}' selfimport # Don't hang forever
stdout -count=1 'import cycle not allowed'
-- selfimport/selfimport.go --
package selfimport
import "selfimport"
|