Skip to content

Conversation

@ono-max
Copy link
Member

@ono-max ono-max commented Nov 28, 2022

Display an accurate message when the test fails' -m 'Currently, the message when the test fails is overridden by a test that checks if the remote debuggee is terminated. For example, when assert_line_text method is failed, the message should be Expected to include ~ in ~, but it will be overridden, and the message will be Expected the remote program to finish ~. We should not assert in ensure block to prevent the problem.

@ono-max ono-max force-pushed the patch-222 branch 2 times, most recently from 8dffad4 to 8f233ff Compare November 28, 2022 04:10
@ono-max ono-max marked this pull request as draft November 28, 2022 04:51
Currently, the message when the test fails is overridden by a test that checks if the remote debuggee is terminated. For example, when `assert_line_text` method is failed, the message should be `Expected to include ~ in ~`, but it will be overridden and the message will be `Expected the remote program to finish ~`. We should not assert in ensure block to prevent the problem.
@ono-max ono-max marked this pull request as ready for review November 28, 2022 07:11
@ko1 ko1 merged commit 1afffe3 into ruby:master Nov 29, 2022
@ono-max ono-max deleted the patch-222 branch January 9, 2023 13:22
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.

2 participants