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

support 10 digits of mobile phone number 0C0-DEF-GHJK #5

Merged
merged 2 commits into from
Jul 26, 2017

Conversation

fukata
Copy link
Contributor

@fukata fukata commented Jul 24, 2017

I supported 10 digits old mobile phone number 0C0-DEF-GHJK. ex) 0809999999

@coveralls
Copy link

coveralls commented Jul 24, 2017

Coverage Status

Coverage decreased (-3.1%) to 96.875% when pulling e018c7a on fukata:10digits into f13c5a2 on iTakeshi:master.

Copy link
Owner

@iTakeshi iTakeshi left a comment

Choose a reason for hiding this comment

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

LGTM; except for a coverage issue.

end

it "raises ArgumentError when Invalid number is given" do
tel = "0200000000"
expect { TelFormatter.split(tel) }.to raise_error(ArgumentError)
Copy link
Owner

@iTakeshi iTakeshi Jul 24, 2017

Choose a reason for hiding this comment

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

Please add an erroneous case, like tel = "0100000000"

@fukata
Copy link
Contributor Author

fukata commented Jul 25, 2017

Sorry late reply.
I added test.

@coveralls
Copy link

coveralls commented Jul 25, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 31009e4 on fukata:10digits into f13c5a2 on iTakeshi:master.

@iTakeshi
Copy link
Owner

LGTM; Thank you for your contribution!

@iTakeshi iTakeshi merged commit 8fefc71 into iTakeshi:master Jul 26, 2017
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