| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/ |
| Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/work_issue54372.txt |
# 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