| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/go/src/cmd/go/testdata/script/ |
Upload File : |
# Test case for #67623 in go.work files: make sure the errors are # printed on lines starting with file and line number so they # can be easily parsed by tools. cp go.work.repeated.txt go.work ! go list stderr '^go.work:4: path .* appears multiple times in workspace$' cp go.work.badgodebug.txt go.work ! go list stderr '^go.work:3: unknown godebug "foo"$' cp go.work.unparsable.txt go.work ! go list stderr '^go.work:5: unknown directive: notadirective' cp go.work.firstlineerr.txt go.work ! go list stderr '^go.work:1: unknown godebug "bar"$' cp go.work.firsterrlisted.txt go.work ! go list stderr '^go.work:1: unknown godebug "baz"$' -- foo/go.mod -- module example.com/foo -- go.work.repeated.txt -- use foo use foo -- go.work.badgodebug.txt -- godebug foo=1 -- go.work.unparsable.txt -- notadirective -- go.work.firstlineerr.txt -- godebug bar=1 -- go.work.firsterrlisted.txt -- godebug baz=1 godebug baz=1