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

Add missing checks for to_str calls in ENV specs #1056

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Aug 20, 2023

A number of specs did mention the calls to to_str, but did not test the full path.

@@ -41,6 +41,14 @@
ENV["foo"].should == nil
end

it "removes the variable coerced wit #to_str" do
Copy link
Contributor

Choose a reason for hiding this comment

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

wit -> with

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess that was a witty comment

Copy link
Member Author

Choose a reason for hiding this comment

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

Resolved in the latest version

A number of specs did mention the calls to to_str, but did not test the
full path.
@andrykonchin
Copy link
Member

Thank you!

@andrykonchin andrykonchin merged commit 4c90b51 into ruby:master Aug 21, 2023
10 checks passed
@herwinw herwinw deleted the env_to_str branch August 21, 2023 12:32
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.

3 participants