diff --git a/src/go/parser/parser_test.go b/src/go/parser/parser_test.go index aab2302d48..946c6f35dc 100644 --- a/src/go/parser/parser_test.go +++ b/src/go/parser/parser_test.go @@ -823,7 +823,7 @@ func TestIssue57490(t *testing.T) { } func TestParseTypeParamsAsParenExpr(t *testing.T) { - const src = "package p;type X[A (B),] struct{}" + const src = "package p; type X[A (B),] struct{}" fset := token.NewFileSet() f, err := ParseFile(fset, "test.go", src, ParseComments|SkipObjectResolution)