Skip to content

Conversation

@straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Aug 7, 2018

In #6333 ENV.each yields String, String instead of {String, String}. That messes up all the Enumerable methods, including Enumerable#first which is used by Enumerable#to_h.

I also added a few ensures to delete ENV variables added by each spec.

Fixes #6253 (the second issue in that thread)

@straight-shoota straight-shoota changed the title Fix ENV Fix ENV#each Aug 7, 2018
@RX14 RX14 merged commit f9569e7 into crystal-lang:master Aug 7, 2018
@RX14 RX14 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib labels Aug 7, 2018
@RX14 RX14 added this to the 0.26.0 milestone Aug 7, 2018
@straight-shoota straight-shoota deleted the jm/fix/env-to_h branch August 7, 2018 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants