Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve testutils.MarshalAny #6611

Closed
easwars opened this issue Sep 8, 2023 · 1 comment · Fixed by #6617
Closed

Improve testutils.MarshalAny #6611

easwars opened this issue Sep 8, 2023 · 1 comment · Fixed by #6617

Comments

@easwars
Copy link
Contributor

easwars commented Sep 8, 2023

  • 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
@ulascansenturk
Copy link
Contributor

Hey @easwars, you can assign me

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants