blob: bb544be344d4f1a6f5b0cdaf128afc66311a971e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Test support for go mod edit -toolchain to set toolchain to use
env GOTOOLCHAIN=local
env GO111MODULE=on
! grep toolchain go.mod
go mod edit -toolchain=go1.9
grep 'toolchain go1.9' go.mod
go mod edit -toolchain=default
grep 'toolchain default' go.mod
go mod edit -toolchain=none
! grep toolchain go.mod
-- go.mod --
module m
go 1.8
|