src/cmd/go/testdata/script/mod_errors_pos.txt
raw| 1 | # Test case for #67623 in go.mod files: make sure the error for |
| 2 | # an unknown godebug is printed on a line starting with the file |
| 3 | # and line number, so it can be easily parsed by tools. |
| 4 | |
| 5 | ! go list |
| 6 | stderr '^go.mod:3: unknown godebug "foo"$' |
| 7 | |
| 8 | -- go.mod -- |
| 9 | module example.com/bar |
| 10 | |
| 11 | godebug foo=1 |