3 # initial conditions: using sampler v1.3.0, not listed in go.mod.
6 ! grep 'rsc.io/sampler v1.3.0' go.mod
8 # update to v1.3.1, now indirect in go.mod.
9 go get rsc.io/sampler@v1.3.1
10 grep 'rsc.io/sampler v1.3.1 // indirect' go.mod
13 # vendoring can but should not need to make changes.
15 cmp go.mod go.mod.good
17 # go list -mod=vendor (or go build -mod=vendor) must not modify go.mod.
18 # golang.org/issue/26704
20 cmp go.mod go.mod.good
27 import _ "rsc.io/quote"