]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: remove special handling for .go1 files in tests
authorRobert Griesemer <gri@golang.org>
Wed, 19 Oct 2022 21:29:26 +0000 (14:29 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 19 Oct 2022 21:47:37 +0000 (21:47 +0000)
All but local tests are now shared and reside in internal/types;
and there are no .go1 files anymore.

Change-Id: I3f8374e85639348de3cb8b568a7a05df5f9c2a38
Reviewed-on: https://go-review.googlesource.com/c/go/+/444276
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
src/go/types/check_test.go

index f19a904f7f2b582c4e615ddc27ad6fd952be10e1..1ca522c07993a67b9d2961b52b9c9a587c1bdd50 100644 (file)
@@ -221,12 +221,6 @@ func testFiles(t *testing.T, sizes Sizes, filenames []string, srcs [][]byte, man
                t.Fatal(err)
        }
 
-       // TODO(gri) remove this or use flag mechanism to set mode if still needed
-       if strings.HasSuffix(filenames[0], ".go1") {
-               // TODO(rfindley): re-enable this test by using GoVersion.
-               t.Skip("type params are enabled")
-       }
-
        files, errlist := parseFiles(t, filenames, srcs, parser.AllErrors)
 
        pkgName := "<no package>"