]> Cypherpunks repositories - gostls13.git/commitdiff
go/types, types2: rename testfile suffixes from .go2 to .go
authorRobert Griesemer <gri@golang.org>
Thu, 17 Mar 2022 23:46:18 +0000 (16:46 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 21 Mar 2022 19:10:48 +0000 (19:10 +0000)
We don't need the distinction anymore.
Also, made corresponding adjustments to check_test.go.

Change-Id: I3c9a768c16a251d76bc6b3ebabd37822773e4ef5
Reviewed-on: https://go-review.googlesource.com/c/go/+/393657
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
284 files changed:
src/cmd/compile/internal/types2/check_test.go
src/cmd/compile/internal/types2/testdata/check/builtins.go [moved from src/cmd/compile/internal/types2/testdata/check/builtins.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/chans.go [moved from src/cmd/compile/internal/types2/testdata/check/chans.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/compliterals.go [moved from src/cmd/compile/internal/types2/testdata/check/compliterals.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/funcinference.go [moved from src/cmd/compile/internal/types2/testdata/check/funcinference.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/issues.go [moved from src/cmd/compile/internal/types2/testdata/check/issues.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/linalg.go [moved from src/cmd/compile/internal/types2/testdata/check/linalg.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/main.go [moved from src/cmd/compile/internal/types2/testdata/check/main.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/map.go [moved from src/cmd/compile/internal/types2/testdata/check/map.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/map2.go [moved from src/cmd/compile/internal/types2/testdata/check/map2.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/mtypeparams.go [moved from src/cmd/compile/internal/types2/testdata/check/mtypeparams.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/slices.go [moved from src/cmd/compile/internal/types2/testdata/check/slices.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/typeinference.go [moved from src/cmd/compile/internal/types2/testdata/check/typeinference.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/typeinst.go [moved from src/cmd/compile/internal/types2/testdata/check/typeinst.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/typeinst2.go [moved from src/cmd/compile/internal/types2/testdata/check/typeinst2.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/typeinstcycles.go [moved from src/cmd/compile/internal/types2/testdata/check/typeinstcycles.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/typeparams.go [moved from src/cmd/compile/internal/types2/testdata/check/typeparams.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/check/unions.go [moved from src/cmd/compile/internal/types2/testdata/check/unions.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/constraints.go [moved from src/cmd/compile/internal/types2/testdata/examples/constraints.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/functions.go [moved from src/cmd/compile/internal/types2/testdata/examples/functions.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/inference.go [moved from src/cmd/compile/internal/types2/testdata/examples/inference.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/methods.go [moved from src/cmd/compile/internal/types2/testdata/examples/methods.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/operations.go [moved from src/cmd/compile/internal/types2/testdata/examples/operations.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/types.go [moved from src/cmd/compile/internal/types2/testdata/examples/types.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/examples/typesets.go [moved from src/cmd/compile/internal/types2/testdata/examples/typesets.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39634.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39634.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39664.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39664.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39680.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39680.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39693.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39693.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39699.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39699.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39711.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39711.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39723.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39723.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39725.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39725.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39754.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39754.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39755.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39755.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39768.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39768.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39938.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39938.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39948.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39948.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39976.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39976.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue39982.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue39982.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40038.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40038.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40056.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40056.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40057.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40057.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40301.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40301.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40684.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40684.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue40789.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue40789.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue41124.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue41124.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue42758.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue42758.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue43056.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue43056.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue43527.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue43527.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue43671.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue43671.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue44688.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue44688.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue44799.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue44799.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45548.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45548.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45550.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45550.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45635.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45635.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45639.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45639.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45920.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45920.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue45985.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue45985.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue46090.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue46090.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue46275.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue46275.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue46461.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue46461.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47031.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47031.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47115.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47115.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47127.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47127.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47411.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47411.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47747.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47747.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47796.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47796.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47818.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47818.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47887.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47887.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47968.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47968.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue47996.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue47996.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48008.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48008.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48018.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48018.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48048.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48048.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48083.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48083.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48136.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48136.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48234.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48234.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48312.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48312.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48472.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48472.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48529.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48529.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48582.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48582.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48619.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48619.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48656.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48656.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48695.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48695.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48703.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48703.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48712.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48712.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48951.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48951.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48962.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48962.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue48974.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue48974.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49043.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49043.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49112.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49112.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49179.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49179.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49242.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49242.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49247.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49247.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49296.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49296.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49439.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49439.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49541.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49541.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49579.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49579.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49592.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49592.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49602.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49602.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49705.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49705.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49735.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49735.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49739.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49739.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49864.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue49864.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50259.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50259.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50276.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50276.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50281.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50281.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50321.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50321.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50417.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50417.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50426.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50426.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50450.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50450.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50516.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50516.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50646.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50646.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50755.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50755.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50779.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50779.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50782.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50782.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50816.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50816.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50833.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50833.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50912.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50912.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue50929.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue50929.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51048.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51048.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51158.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51158.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51229.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51229.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51232.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51232.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51233.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51233.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51257.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51257.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51335.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51335.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51339.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51339.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51376.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51376.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51386.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51386.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51472.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51472.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51578.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51578.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51593.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51593.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51616.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51616.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/fixedbugs/issue51658.go [moved from src/cmd/compile/internal/types2/testdata/fixedbugs/issue51658.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/manual.go [moved from src/cmd/compile/internal/types2/testdata/manual.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/spec/assignability.go [moved from src/cmd/compile/internal/types2/testdata/spec/assignability.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/spec/comparisons.go [moved from src/cmd/compile/internal/types2/testdata/spec/comparisons.go2 with 100% similarity]
src/cmd/compile/internal/types2/testdata/spec/conversions.go [moved from src/cmd/compile/internal/types2/testdata/spec/conversions.go2 with 100% similarity]
src/go/types/check_test.go
src/go/types/testdata/check/builtins.go [moved from src/go/types/testdata/check/builtins.go2 with 100% similarity]
src/go/types/testdata/check/chans.go [moved from src/go/types/testdata/check/chans.go2 with 100% similarity]
src/go/types/testdata/check/compliterals.go [moved from src/go/types/testdata/check/compliterals.go2 with 100% similarity]
src/go/types/testdata/check/funcinference.go [moved from src/go/types/testdata/check/funcinference.go2 with 100% similarity]
src/go/types/testdata/check/issues.go [moved from src/go/types/testdata/check/issues.go2 with 100% similarity]
src/go/types/testdata/check/linalg.go [moved from src/go/types/testdata/check/linalg.go2 with 100% similarity]
src/go/types/testdata/check/main.go [moved from src/go/types/testdata/check/main.go2 with 100% similarity]
src/go/types/testdata/check/map.go [moved from src/go/types/testdata/check/map.go2 with 100% similarity]
src/go/types/testdata/check/map2.go [moved from src/go/types/testdata/check/map2.go2 with 100% similarity]
src/go/types/testdata/check/slices.go [moved from src/go/types/testdata/check/slices.go2 with 100% similarity]
src/go/types/testdata/check/todos.go [moved from src/go/types/testdata/check/todos.go2 with 100% similarity]
src/go/types/testdata/check/typeinference.go [moved from src/go/types/testdata/check/typeinference.go2 with 100% similarity]
src/go/types/testdata/check/typeinst.go [moved from src/go/types/testdata/check/typeinst.go2 with 100% similarity]
src/go/types/testdata/check/typeinst2.go [moved from src/go/types/testdata/check/typeinst2.go2 with 100% similarity]
src/go/types/testdata/check/typeinstcycles.go [moved from src/go/types/testdata/check/typeinstcycles.go2 with 100% similarity]
src/go/types/testdata/check/typeparams.go [moved from src/go/types/testdata/check/typeparams.go2 with 100% similarity]
src/go/types/testdata/check/unions.go [moved from src/go/types/testdata/check/unions.go2 with 100% similarity]
src/go/types/testdata/examples/constraints.go [moved from src/go/types/testdata/examples/constraints.go2 with 100% similarity]
src/go/types/testdata/examples/functions.go [moved from src/go/types/testdata/examples/functions.go2 with 100% similarity]
src/go/types/testdata/examples/inference.go [moved from src/go/types/testdata/examples/inference.go2 with 100% similarity]
src/go/types/testdata/examples/methods.go [moved from src/go/types/testdata/examples/methods.go2 with 100% similarity]
src/go/types/testdata/examples/operations.go [moved from src/go/types/testdata/examples/operations.go2 with 100% similarity]
src/go/types/testdata/examples/types.go [moved from src/go/types/testdata/examples/types.go2 with 100% similarity]
src/go/types/testdata/examples/typesets.go [moved from src/go/types/testdata/examples/typesets.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39634.go [moved from src/go/types/testdata/fixedbugs/issue39634.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39664.go [moved from src/go/types/testdata/fixedbugs/issue39664.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39680.go [moved from src/go/types/testdata/fixedbugs/issue39680.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39693.go [moved from src/go/types/testdata/fixedbugs/issue39693.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39699.go [moved from src/go/types/testdata/fixedbugs/issue39699.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39711.go [moved from src/go/types/testdata/fixedbugs/issue39711.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39723.go [moved from src/go/types/testdata/fixedbugs/issue39723.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39725.go [moved from src/go/types/testdata/fixedbugs/issue39725.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39754.go [moved from src/go/types/testdata/fixedbugs/issue39754.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39755.go [moved from src/go/types/testdata/fixedbugs/issue39755.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39768.go [moved from src/go/types/testdata/fixedbugs/issue39768.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39938.go [moved from src/go/types/testdata/fixedbugs/issue39938.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39948.go [moved from src/go/types/testdata/fixedbugs/issue39948.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39976.go [moved from src/go/types/testdata/fixedbugs/issue39976.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue39982.go [moved from src/go/types/testdata/fixedbugs/issue39982.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40038.go [moved from src/go/types/testdata/fixedbugs/issue40038.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40056.go [moved from src/go/types/testdata/fixedbugs/issue40056.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40057.go [moved from src/go/types/testdata/fixedbugs/issue40057.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40301.go [moved from src/go/types/testdata/fixedbugs/issue40301.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40684.go [moved from src/go/types/testdata/fixedbugs/issue40684.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue40789.go [moved from src/go/types/testdata/fixedbugs/issue40789.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue41124.go [moved from src/go/types/testdata/fixedbugs/issue41124.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue42758.go [moved from src/go/types/testdata/fixedbugs/issue42758.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue43056.go [moved from src/go/types/testdata/fixedbugs/issue43056.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue43527.go [moved from src/go/types/testdata/fixedbugs/issue43527.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue43671.go [moved from src/go/types/testdata/fixedbugs/issue43671.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue44688.go [moved from src/go/types/testdata/fixedbugs/issue44688.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue44799.go [moved from src/go/types/testdata/fixedbugs/issue44799.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45548.go [moved from src/go/types/testdata/fixedbugs/issue45548.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45550.go [moved from src/go/types/testdata/fixedbugs/issue45550.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45635.go [moved from src/go/types/testdata/fixedbugs/issue45635.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45639.go [moved from src/go/types/testdata/fixedbugs/issue45639.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45920.go [moved from src/go/types/testdata/fixedbugs/issue45920.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue45985.go [moved from src/go/types/testdata/fixedbugs/issue45985.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue46090.go [moved from src/go/types/testdata/fixedbugs/issue46090.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue46275.go [moved from src/go/types/testdata/fixedbugs/issue46275.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue46461.go [moved from src/go/types/testdata/fixedbugs/issue46461.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47031.go [moved from src/go/types/testdata/fixedbugs/issue47031.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47115.go [moved from src/go/types/testdata/fixedbugs/issue47115.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47127.go [moved from src/go/types/testdata/fixedbugs/issue47127.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47411.go [moved from src/go/types/testdata/fixedbugs/issue47411.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47747.go [moved from src/go/types/testdata/fixedbugs/issue47747.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47796.go [moved from src/go/types/testdata/fixedbugs/issue47796.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47818.go [moved from src/go/types/testdata/fixedbugs/issue47818.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47887.go [moved from src/go/types/testdata/fixedbugs/issue47887.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue47968.go [moved from src/go/types/testdata/fixedbugs/issue47968.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48008.go [moved from src/go/types/testdata/fixedbugs/issue48008.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48018.go [moved from src/go/types/testdata/fixedbugs/issue48018.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48048.go [moved from src/go/types/testdata/fixedbugs/issue48048.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48083.go [moved from src/go/types/testdata/fixedbugs/issue48083.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48136.go [moved from src/go/types/testdata/fixedbugs/issue48136.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48234.go [moved from src/go/types/testdata/fixedbugs/issue48234.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48312.go [moved from src/go/types/testdata/fixedbugs/issue48312.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48472.go [moved from src/go/types/testdata/fixedbugs/issue48472.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48529.go [moved from src/go/types/testdata/fixedbugs/issue48529.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48582.go [moved from src/go/types/testdata/fixedbugs/issue48582.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48619.go [moved from src/go/types/testdata/fixedbugs/issue48619.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48656.go [moved from src/go/types/testdata/fixedbugs/issue48656.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48695.go [moved from src/go/types/testdata/fixedbugs/issue48695.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48703.go [moved from src/go/types/testdata/fixedbugs/issue48703.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48712.go [moved from src/go/types/testdata/fixedbugs/issue48712.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48827.go [moved from src/go/types/testdata/fixedbugs/issue48827.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48951.go [moved from src/go/types/testdata/fixedbugs/issue48951.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48962.go [moved from src/go/types/testdata/fixedbugs/issue48962.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue48974.go [moved from src/go/types/testdata/fixedbugs/issue48974.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49043.go [moved from src/go/types/testdata/fixedbugs/issue49043.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49112.go [moved from src/go/types/testdata/fixedbugs/issue49112.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49179.go [moved from src/go/types/testdata/fixedbugs/issue49179.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49242.go [moved from src/go/types/testdata/fixedbugs/issue49242.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49247.go [moved from src/go/types/testdata/fixedbugs/issue49247.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49276.go [moved from src/go/types/testdata/fixedbugs/issue49276.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49296.go [moved from src/go/types/testdata/fixedbugs/issue49296.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49439.go [moved from src/go/types/testdata/fixedbugs/issue49439.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49482.go [moved from src/go/types/testdata/fixedbugs/issue49482.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49541.go [moved from src/go/types/testdata/fixedbugs/issue49541.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49579.go [moved from src/go/types/testdata/fixedbugs/issue49579.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49592.go [moved from src/go/types/testdata/fixedbugs/issue49592.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49602.go [moved from src/go/types/testdata/fixedbugs/issue49602.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49705.go [moved from src/go/types/testdata/fixedbugs/issue49705.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49735.go [moved from src/go/types/testdata/fixedbugs/issue49735.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49739.go [moved from src/go/types/testdata/fixedbugs/issue49739.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue49864.go [moved from src/go/types/testdata/fixedbugs/issue49864.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50259.go [moved from src/go/types/testdata/fixedbugs/issue50259.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50276.go [moved from src/go/types/testdata/fixedbugs/issue50276.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50281.go [moved from src/go/types/testdata/fixedbugs/issue50281.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50321.go [moved from src/go/types/testdata/fixedbugs/issue50321.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50417.go [moved from src/go/types/testdata/fixedbugs/issue50417.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50426.go [moved from src/go/types/testdata/fixedbugs/issue50426.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50427.go [moved from src/go/types/testdata/fixedbugs/issue50427.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50450.go [moved from src/go/types/testdata/fixedbugs/issue50450.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50516.go [moved from src/go/types/testdata/fixedbugs/issue50516.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50646.go [moved from src/go/types/testdata/fixedbugs/issue50646.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50755.go [moved from src/go/types/testdata/fixedbugs/issue50755.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50779.go [moved from src/go/types/testdata/fixedbugs/issue50779.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50782.go [moved from src/go/types/testdata/fixedbugs/issue50782.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50816.go [moved from src/go/types/testdata/fixedbugs/issue50816.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50833.go [moved from src/go/types/testdata/fixedbugs/issue50833.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50912.go [moved from src/go/types/testdata/fixedbugs/issue50912.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue50929.go [moved from src/go/types/testdata/fixedbugs/issue50929.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51048.go [moved from src/go/types/testdata/fixedbugs/issue51048.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51158.go [moved from src/go/types/testdata/fixedbugs/issue51158.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51229.go [moved from src/go/types/testdata/fixedbugs/issue51229.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51232.go [moved from src/go/types/testdata/fixedbugs/issue51232.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51233.go [moved from src/go/types/testdata/fixedbugs/issue51233.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51257.go [moved from src/go/types/testdata/fixedbugs/issue51257.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51335.go [moved from src/go/types/testdata/fixedbugs/issue51335.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51339.go [moved from src/go/types/testdata/fixedbugs/issue51339.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51376.go [moved from src/go/types/testdata/fixedbugs/issue51376.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51386.go [moved from src/go/types/testdata/fixedbugs/issue51386.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51472.go [moved from src/go/types/testdata/fixedbugs/issue51472.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51578.go [moved from src/go/types/testdata/fixedbugs/issue51578.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51593.go [moved from src/go/types/testdata/fixedbugs/issue51593.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51616.go [moved from src/go/types/testdata/fixedbugs/issue51616.go2 with 100% similarity]
src/go/types/testdata/fixedbugs/issue51658.go [moved from src/go/types/testdata/fixedbugs/issue51658.go2 with 100% similarity]
src/go/types/testdata/manual.go [moved from src/go/types/testdata/manual.go2 with 100% similarity]
src/go/types/testdata/spec/assignability.go [moved from src/go/types/testdata/spec/assignability.go2 with 100% similarity]
src/go/types/testdata/spec/comparisons.go [moved from src/go/types/testdata/spec/comparisons.go2 with 100% similarity]
src/go/types/testdata/spec/conversions.go [moved from src/go/types/testdata/spec/conversions.go2 with 100% similarity]

index 988983ee04e4756f847086d6a45052aa71f4ad36..fa6d465acc56dda08ca329a64e5bbe0b64a0633a 100644 (file)
@@ -135,13 +135,7 @@ func testFiles(t *testing.T, filenames []string, colDelta uint, manual bool) {
                t.Fatal(err)
        }
 
-       // TODO(gri) remove this or use flag mechanism to set mode if still needed
-       var mode syntax.Mode
-       if strings.HasSuffix(filenames[0], ".go2") || manual {
-               mode |= syntax.AllowGenerics | syntax.AllowMethodTypeParams
-       }
-       // parse files and collect parser errors
-       files, errlist := parseFiles(t, filenames, mode)
+       files, errlist := parseFiles(t, filenames, syntax.AllowGenerics|syntax.AllowMethodTypeParams)
 
        pkgName := "<no package>"
        if len(files) > 0 {
@@ -271,7 +265,7 @@ func testFiles(t *testing.T, filenames []string, colDelta uint, manual bool) {
 //
 //     go test -run Manual -- foo.go bar.go
 //
-// If no source arguments are provided, the file testdata/manual.go2
+// If no source arguments are provided, the file testdata/manual.go
 // is used instead.
 // Provide the -verify flag to verify errors against ERROR comments
 // in the input files rather than having a list of errors reported.
@@ -282,7 +276,7 @@ func TestManual(t *testing.T) {
 
        filenames := flag.Args()
        if len(filenames) == 0 {
-               filenames = []string{filepath.FromSlash("testdata/manual.go2")}
+               filenames = []string{filepath.FromSlash("testdata/manual.go")}
        }
 
        info, err := os.Stat(filenames[0])
index d962b0c4052080be37cae6ac5ec30d79cb90124b..73b8de8fd4e9409e8ac9f585b293bc145af1895a 100644 (file)
@@ -28,7 +28,6 @@ import (
        "fmt"
        "go/ast"
        "go/importer"
-       "go/internal/typeparams"
        "go/parser"
        "go/scanner"
        "go/token"
@@ -244,13 +243,7 @@ func testFiles(t *testing.T, sizes Sizes, filenames []string, srcs [][]byte, man
                t.Skip("type params are enabled")
        }
 
-       mode := parser.AllErrors
-       if !strings.HasSuffix(filenames[0], ".go2") && !manual {
-               mode |= typeparams.DisallowParsing
-       }
-
-       // parse files and collect parser errors
-       files, errlist := parseFiles(t, filenames, srcs, mode)
+       files, errlist := parseFiles(t, filenames, srcs, parser.AllErrors)
 
        pkgName := "<no package>"
        if len(files) > 0 {
@@ -325,7 +318,7 @@ func testFiles(t *testing.T, sizes Sizes, filenames []string, srcs [][]byte, man
 //
 //     go test -run Manual -- foo.go bar.go
 //
-// If no source arguments are provided, the file testdata/manual.go2
+// If no source arguments are provided, the file testdata/manual.go
 // is used instead.
 // Provide the -verify flag to verify errors against ERROR comments
 // in the input files rather than having a list of errors reported.
@@ -336,7 +329,7 @@ func TestManual(t *testing.T) {
 
        filenames := flag.Args()
        if len(filenames) == 0 {
-               filenames = []string{filepath.FromSlash("testdata/manual.go2")}
+               filenames = []string{filepath.FromSlash("testdata/manual.go")}
        }
 
        info, err := os.Stat(filenames[0])