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

     1  # For now, 'go work use' requires arguments.
     2  # (Eventually, we may may it implicitly behave like 'go work use .'.
     3  
     4  ! go work use
     5  stderr '^go: ''go work use'' requires one or more directory arguments'
     6  
     7  ! go work use -r
     8  stderr '^go: ''go work use'' requires one or more directory arguments'
     9  
    10  -- go.work --
    11  go 1.18
    12  

View as plain text