diff options
| author | Robert Griesemer <gri@golang.org> | 2022-03-29 16:58:49 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2022-03-30 18:02:18 +0000 |
| commit | 717056da1a0086c5d1d1b27231a385f77ebc61d7 (patch) | |
| tree | 6afe0588df59d1e85337042d649182bd6db64ed1 /src/cmd/compile/internal/noder/noder.go | |
| parent | c05c0ca8cfba2c9b78e92e71907c3a1ee344aa23 (diff) | |
| download | go-717056da1a0086c5d1d1b27231a385f77ebc61d7.tar.xz | |
cmd/compile/internal/syntax: use .go suffix for test files (cleanup)
- Use .go suffix for test files as go fmt doesn't descend into testdata
directories.
- Move test files from testdata/go2 into testdata directory.
- Delete some test files that contained type-checker ERROR markers that
were ignored by the TestParseGo2 test but would be considered by the
TestSyntaxErrors test if the files were moved unchanged into the
testdata directory.
- Remove one (type checker) ERROR marker in testdata/slices.go to make
it pass the syntax error tests.
- Delete TestParseGo2 test. There's enough coverage with the existing
TestSyntaxErrors test.
- Add missing copyright notice to testdata/chans.go and gofmt the file.
Change-Id: I449913fe1bd2119987ba33f7152e5e4ba5f3fe31
Reviewed-on: https://go-review.googlesource.com/c/go/+/396518
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/noder.go')
0 files changed, 0 insertions, 0 deletions
