Skip to content

Commit

Permalink
fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iansuvak committed Jun 20, 2023
1 parent 1e57b2b commit c074625
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions network/wsPeer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,10 @@ func getProtocolTags(t *testing.T) []string {
for _, spec := range genDecl.Specs {
if valueSpec, ok := spec.(*ast.ValueSpec); ok {
for _, n := range valueSpec.Names {
if strings.HasSuffix(n.Name, "MaxSize") || n.Name == TagLength{
if strings.HasSuffix(n.Name, "MaxSize") || n.Name == "TagLength" {
continue
}
declaredTags = append(declaredTags, n.Name)
}
}
}
}
Expand Down

0 comments on commit c074625

Please sign in to comment.