Skip to content

Conversation

@jjb
Copy link
Contributor

@jjb jjb commented Jul 4, 2023

see discussion in #38

@jjb jjb force-pushed the test-nested-exception-identity branch from 771c0ca to 7ae36a8 Compare July 4, 2023 19:48
@jjb jjb force-pushed the test-nested-exception-identity branch from 7ae36a8 to 3e42aa4 Compare July 4, 2023 19:49
@hsbt hsbt merged commit f31321c into ruby:master Nov 7, 2023
raised_exception = e
end

assert_equal 'inner message', e.message
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.message -> raised_exception.message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @eregon - are you saying that that is the more important thing to test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jjb
Copy link
Contributor Author

jjb commented Nov 7, 2023

Thanks @hsbt for merging - these tests do test current behavior so if you and @eregon think it's useful, great! the PR was made "for discussion" - the discussion started here: #38 which is still open.

@eregon
Copy link
Member

eregon commented Nov 7, 2023

Yeah, this is the current and what looks to be the correct behavior, so good to be merged.

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.

3 participants