Skip to content

Add specs for optparse into argument - #523

Merged
eregon merged 2 commits into
ruby:masterfrom
andrykonchin:add-specs-for-optparse-into-argument
Oct 19, 2017
Merged

eregon merged 2 commits into
ruby:masterfrom
andrykonchin:add-specs-for-optparse-into-argument

Conversation

@andrykonchin

Copy link
Copy Markdown
Member

optparse
Add an into option. Feature #11191

Relates issue #473

@andrykonchin

Copy link
Copy Markdown
Member Author

@eregon There are no specs for OptionParser


describe "OptionParser#order" do
ruby_version_is '2.4' do
it "excepts `into` keyword argument and stores result in it" do

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you mean accepts?

@eregon

eregon commented Oct 19, 2017

Copy link
Copy Markdown
Member

Right, the coverage of the stdlib is usually lower.
For pure-Ruby stdlib with their own tests and now their own gem/project in 2.4/2.5, I think it's less a priority to cover them than language and core.

@eregon
eregon merged commit 3ce41f7 into ruby:master Oct 19, 2017
@eregon

eregon commented Oct 19, 2017

Copy link
Copy Markdown
Member

Thank you for the PR!
I'll fix the small typos in the descriptions.

@andrykonchin
andrykonchin deleted the add-specs-for-optparse-into-argument branch October 19, 2017 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants