Skip to content

Improve testutils.MarshalAny #6611

Closed
@easwars

Description

@easwars
  • Use anypb.New() instead of ptypes.MarshalAny
  • Accept a testing.T and mark this as a test helper with t.Helper() and call t.Fatalf() instead of panic

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions