env GO111MODULE=on
[short] skip

go get -d rsc.io/fortune/v2

# The default executable name shouldn't be v2$GOEXE
go build rsc.io/fortune/v2
! exists v2$GOEXE
exists fortune$GOEXE

# The default test binary name shouldn't be v2.test$GOEXE
go test -c rsc.io/fortune/v2
! exists v2.test$GOEXE
exists fortune.test$GOEXE

-- go.mod --
module scratch
