gopls/internal/test/marker/testdata/fixedbugs/issue61543.txt
raw| 1 | This test verifies that we fail loudly if a module name contains |
| 2 | command-line-arguments. |
| 3 | |
| 4 | -- flags -- |
| 5 | -errors_ok |
| 6 | |
| 7 | -- go.mod -- |
| 8 | module command-line-arguments //@diag("module", re`command-line-arguments.*disallowed`) |
| 9 | |
| 10 | go 1.12 |
| 11 | |
| 12 | -- x/x.go -- |
| 13 | package x //@diag("x", re`command-line-arguments.*disallowed`) |