golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/diagnostics/strangefiles.txt (about)

     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  
    13  -- go.mod --
    14  module golang.org/lsptests
    15  
    16  go 1.18
    17  -- %percent/perc%ent.go --
    18  package percent //@diag("percent", re"No packages")
    19  
    20  -- noparse/noparse.go --
    21