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

Support the new message format of NameError in Ruby 3.3 #942

Closed
wants to merge 1 commit into from

Conversation

mame
Copy link

@mame mame commented Jan 30, 2023

We are running a trial in Ruby dev branch to change the message format of NameError.

https://bugs.ruby-lang.org/issues/18285

Unfortunately, this change makes a test of minitest fail. Because minitest is bundled with Ruby and tested in make test-bundled-gems, I would appreciate it if you could accept the new format in the side of minitest.

Specifically, the following change matters in the test of minitest.

old: undefined method `write' for nil:NilClass
new: undefined method `write' for nil

Thanks,

This change accepts the following change of the message of NameError in
a test.

```
old: undefined method `write' for nil:NilClass
new: undefined method `write' for nil
```
@zenspider
Copy link
Collaborator

Done! Thank you... I'll get a release out shortly.

@zenspider zenspider closed this Feb 8, 2023
mame added a commit to mame/ruby that referenced this pull request Feb 10, 2023
mame added a commit to mame/ruby that referenced this pull request Feb 10, 2023
mame added a commit to mame/ruby that referenced this pull request Feb 18, 2023
mame added a commit to mame/ruby that referenced this pull request Feb 19, 2023
This is a preparation for a new message format of NameError.
[Feature #18285]

minitest/minitest#942
ruby/debug#889
mame added a commit to ruby/ruby that referenced this pull request Feb 19, 2023
This is a preparation for a new message format of NameError.
[Feature #18285]

minitest/minitest#942
ruby/debug#889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants