| 1 |
This test checks diagnostics on files that are strange for one reason or |
| 2 |
another. |
| 3 |
|
| 4 |
Note(rfindley): ported from the old marker tests. I'm not sure why these were |
| 5 |
written originally. |
| 6 |
|
| 7 |
-ignore_extra_diags is required because the marker framework fails for |
| 8 |
noparse.go, and we therefore can't match the EOF error. |
| 9 |
|
| 10 |
-- flags -- |
| 11 |
-ignore_extra_diags |
| 12 |
-errors_ok |
| 13 |
|
| 14 |
-- go.mod -- |
| 15 |
module golang.org/lsptests |
| 16 |
|
| 17 |
go 1.18 |
| 18 |
-- %percent/perc%ent.go -- |
| 19 |
package percent //@diag("percent", re"No packages") |
| 20 |
|
| 21 |
-- noparse/noparse.go -- |
| 22 |
|