Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix to set class instance variable @debug_on_failure #205

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Fix to set class instance variable @debug_on_failure #205

merged 1 commit into from
Sep 14, 2021

Conversation

kachick
Copy link
Contributor

@kachick kachick commented Sep 14, 2021

Follow a66061f

Before Ruby 3.0, uninitialized instance variable shows warning as below.

Before

$ ruby -v && bundle exec rake 2>&1 | grep 'warning' | fgrep '/lib/' | wc -l
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
175

After

$ ruby -v && bundle exec rake 2>&1 | grep 'warning' | fgrep '/lib/' | wc -l
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
0

@kou
Copy link
Member

kou commented Sep 14, 2021

Oh... Thanks!

@kou kou merged commit 9d6bcf1 into test-unit:master Sep 14, 2021
@kachick
Copy link
Contributor Author

kachick commented Sep 14, 2021

Thank you!

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