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:
parent
86a263747e
commit
77fffa7635
12
src/cmd/go/testdata/script/work_use_file.txt
vendored
12
src/cmd/go/testdata/script/work_use_file.txt
vendored
@ -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 --
|
Loading…
Reference in New Issue
Block a user