Skip to content

fix(gtest): catch panic reply in RunResult#3024

Merged
shamilsan merged 1 commit into
masterfrom
sy-gtest-catch-panic
Aug 7, 2023
Merged

fix(gtest): catch panic reply in RunResult#3024
shamilsan merged 1 commit into
masterfrom
sy-gtest-catch-panic

Conversation

@shamilsan

@shamilsan shamilsan commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

Resolves #3023

@gear-tech/dev

Release Notes

  • Fixed bug related to missing panic replies when using the RunResult::contains function in gtest
  • There was a bug when dealing with the RunResult containing a panic reply. Calling the RunResult::contains function with any payload returned true in case of panic result inside it.

@shamilsan shamilsan merged commit 6f7a21d into master Aug 7, 2023
@shamilsan shamilsan deleted the sy-gtest-catch-panic branch August 7, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gtest: RunResult::contains doesn't catch a panic

3 participants