Skip to content

Commit

Permalink
Update protocol/tags_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zbitskiy <[email protected]>
  • Loading branch information
iansuvak and algorandskiy committed Jun 23, 2023
1 parent 7d31ac7 commit b64ca5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b64ca5b

Please sign in to comment.