Debian Codegraph @

src/cmd/go/testdata/script/mod_cache_dir.txt

raw
1 env GO111MODULE=on
2
3 # Go should reject relative paths in GOMODCACHE environment.
4
5 env GOMODCACHE="~/test"
6 ! go install example.com/tools/cmd/hello@latest
7 stderr 'must be absolute path'
8
9 env GOMODCACHE="./test"
10 ! go install example.com/tools/cmd/hello@latest
11 stderr 'must be absolute path'