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

Test different return values of String#encode :fallback #1165

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

seven1m
Copy link
Contributor

@seven1m seven1m commented Jun 24, 2024

This is an amendment to #1164 to show that to_str is called on the returned value (but not to_s).

seven1m added a commit to natalie-lang/natalie that referenced this pull request Jun 24, 2024
@andrykonchin
Copy link
Member

Thank you.

@andrykonchin andrykonchin merged commit 474d3b8 into ruby:master Jun 24, 2024
14 checks passed
@seven1m seven1m deleted the string-encode-fallback-return branch June 24, 2024 14:42
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.

2 participants