Skip to content

Fix extracting payload from throwable - #16

Merged
cheeseng merged 1 commit into
scalatest:mainfrom
samwright:fix-failure-payload
Jun 19, 2024
Merged

Fix extracting payload from throwable#16
cheeseng merged 1 commit into
scalatest:mainfrom
samwright:fix-failure-payload

Conversation

@samwright

Copy link
Copy Markdown
Contributor

Previously this code was checking if Some[Throwable] can be matched with PayloadField, which will never happen. We should be matching Throwable to PayloadField.

Previously this code was checking if `Some[Throwable]` can be matched with `PayloadField`, which will never happen. We should be matching `Throwable` to `PayloadField`.
@cheeseng

Copy link
Copy Markdown
Contributor

@samwright Looks good, thanks for catching it! @bvenners do you mind to review it for approval?

Thanks.

@cheeseng
cheeseng requested a review from bvenners June 14, 2024 01:29
@cheeseng
cheeseng merged commit e2cd340 into scalatest:main Jun 19, 2024
@tech-jun-jones

Copy link
Copy Markdown

samwright:fix-failure-payload

@tech-jun-jones

Copy link
Copy Markdown

samwright:fix-failure-payloadretronym:feature/assumption-failure

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.

4 participants