blob: 7284ccf8bab735aa5613f08608228f41ec778c9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
env GO111MODULE=on
# Go should reject relative paths in GOMODCACHE environment.
env GOMODCACHE="~/test"
! go get example.com/tools/cmd/hello
stderr 'must be absolute path'
env GOMODCACHE="./test"
! go get example.com/tools/cmd/hello
stderr 'must be absolute path'
|