Skip to content

Array#join executed with nil should use default separator#1829

Merged
dbussink merged 1 commit intorubinius:masterfrom
LTe:separator_test
Jul 25, 2012
Merged

Array#join executed with nil should use default separator#1829
dbussink merged 1 commit intorubinius:masterfrom
LTe:separator_test

Conversation

@LTe
Copy link
Copy Markdown
Contributor

@LTe LTe commented Jul 25, 2012

Add specs for join with nil argument.

ruby/ruby@61a67bc
http://bugs.ruby-lang.org/issues/5915

@travisbot
Copy link
Copy Markdown

This pull request passes (merged c16e882 into 56a5b44).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You probably want to make sure to restore $, to the old value afterwards.

It would be very weird if because of that somebody would get a spec failure in another spec depending on whether this spec has ran or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@dbussink I think here $, is restored click

dbussink added a commit that referenced this pull request Jul 25, 2012
Array#join executed with nil should use default separator
@dbussink dbussink merged commit 3b977b0 into rubinius:master Jul 25, 2012
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.

3 participants