...

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

Documentation: cmd/go/testdata/script

     1! go work use foo bar baz
     2
     3stderr '^go: foo is not a directory'
     4stderr '^go: directory baz does not exist'
     5cmp go.work go.work_want
     6
     7! go work use -r qux
     8stderr '^go: qux is not a directory'
     9
    10-- go.work --
    11go 1.18
    12-- go.work_want --
    13go 1.18
    14-- foo --
    15-- qux --
    16-- bar/go.mod --
    17module bar

View as plain text