aboutsummaryrefslogtreecommitdiff
path: root/src/go/parser/error_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/parser/error_test.go')
-rw-r--r--src/go/parser/error_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/parser/error_test.go b/src/go/parser/error_test.go
index 8e20b7b468..3caa3571e6 100644
--- a/src/go/parser/error_test.go
+++ b/src/go/parser/error_test.go
@@ -188,7 +188,7 @@ func TestErrors(t *testing.T) {
if !d.IsDir() && !strings.HasPrefix(name, ".") && (strings.HasSuffix(name, ".src") || strings.HasSuffix(name, ".go2")) {
mode := DeclarationErrors | AllErrors
if strings.HasSuffix(name, ".go2") {
- mode |= ParseTypeParams
+ mode |= parseTypeParams
}
checkErrors(t, filepath.Join(testdata, name), nil, mode, true)
}