Skip to content

Commit

Permalink
Add unit tests for gomega variables
Browse files Browse the repository at this point in the history
Add missing tests to check the new additions to support gomega variables
or fields.
  • Loading branch information
nunnatsa committed Jan 18, 2023
1 parent 22fcadb commit 6975690
Show file tree
Hide file tree
Showing 2 changed files with 490 additions and 73 deletions.
3 changes: 0 additions & 3 deletions gomegahandler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ func (dotHandler) getFieldType(field *ast.Field) string {
return name.Name
}
}
if id, ok := field.Type.(*ast.Ident); ok {
return id.Name
}
return ""
}

Expand Down
Loading

0 comments on commit 6975690

Please sign in to comment.