...

Text file src/cmd/go/testdata/script/work_issue54372.txt

Documentation: cmd/go/testdata/script

     1# go mod verify should not try to verify the workspace modules.
     2# This is a test for #54372.
     3
     4go mod verify
     5stdout 'all modules verified'
     6! stderr .
     7
     8-- go.work --
     9go 1.21
    10
    11use (
    12    ./a
    13    ./b
    14    ./c
    15    ./d
    16)
    17-- a/go.mod --
    18module example.com/a
    19
    20go 1.21
    21
    22require rsc.io/quote v1.1.0
    23-- a/a.go --
    24package a
    25import _ "rsc.io/quote"
    26-- b/go.mod --
    27module example.com/b
    28
    29go 1.21
    30-- c/go.mod --
    31module example.com/c
    32
    33go 1.21
    34-- d/go.mod --
    35module example.com/d
    36
    37go 1.21

View as plain text