1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:40:22 -07:00

cmd/go: remove duplicate test for go work use

This commit is contained in:
Filippo Rossi 2022-04-01 22:20:57 +02:00
parent 86a263747e
commit 77fffa7635
No known key found for this signature in database
GPG Key ID: 170D27E03F4DE09E

View File

@ -1,12 +0,0 @@
cp go.work go.work.orig
# If an argument to 'go work use' is a file it should be handled gracefully as
# an error and go.work should not be modified
! go work use foo.txt
stderr '^go: argument "foo\.txt" is not a directory$'
cmp go.work go.work.orig
-- go.work --
go 1.18
-- foo.txt --