summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/work_issue54372.txt
blob: bd3108abab1947a73c69bd24c26b452a48b7553b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# go mod verify should not try to verify the workspace modules.
# This is a test for #54372.

go mod verify
stdout 'all modules verified'
! stderr .

-- go.work --
go 1.21

use (
    ./a
    ./b
    ./c
    ./d
)
-- a/go.mod --
module example.com/a

go 1.21

require rsc.io/quote v1.1.0
-- a/a.go --
package a
import _ "rsc.io/quote"
-- b/go.mod --
module example.com/b

go 1.21
-- c/go.mod --
module example.com/c

go 1.21
-- d/go.mod --
module example.com/d

go 1.21