diff --git a/protocol/tags_test.go b/protocol/tags_test.go index 74a0583338..30ff4ed3b2 100644 --- a/protocol/tags_test.go +++ b/protocol/tags_test.go @@ -31,7 +31,7 @@ import ( // getConstValues uses the AST to get a list of the values of declared const // variables of the provided typeName in a specified fileName. // if returnNames is true, it returns the names of the const variables instead. -func getConstValues(t *testing.T, fileName string, typeName string, returnNames bool) []string { +func getConstValues(t *testing.T, fileName string, typeName string, namesOnly bool) []string { fset := token.NewFileSet() f, err := parser.ParseFile(fset, fileName, nil, 0) require.NoError(t, err)