diff options
Diffstat (limited to 'src/cmd/go/testdata/script/work_use_issue50958.txt')
-rw-r--r-- | src/cmd/go/testdata/script/work_use_issue50958.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/work_use_issue50958.txt b/src/cmd/go/testdata/script/work_use_issue50958.txt new file mode 100644 index 0000000..7a25531 --- /dev/null +++ b/src/cmd/go/testdata/script/work_use_issue50958.txt @@ -0,0 +1,17 @@ +go work use -r . +cmp go.work go.work.want + +-- go.mod -- +module example +go 1.18 +-- go.work -- +go 1.18 + +use sub +-- go.work.want -- +go 1.18 + +use . +-- sub/README.txt -- +This directory no longer contains a go.mod file. + |