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

Fixes #310 Conform phone number unit test to NANP and updated track to 1.2.0 #359

Merged
merged 2 commits into from
Oct 10, 2017

Conversation

vinmaster
Copy link
Contributor

No description provided.

@vinmaster
Copy link
Contributor Author

This is for issue: #310. Please review 😄

@petertseng
Copy link
Member

This is for issue: #310

Can you confirm whether the issue is resolved if this PR is merged?

If it is, we need you to use one of the words in https://help.github.com/articles/closing-issues-using-keywords/ in your commit message or your PR description so that the issue will automatically be closed.

If it is not, could you describe briefly in #310 what work will still need to be done after this is merged?

Thank you.

Copy link
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

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

looking good, is indeed on 1.2.0 of problem-specifications

}

#[test]
#[ignore]
Copy link
Member

Choose a reason for hiding this comment

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

please leave the ignores in place, as discussed in #279 and https://github.com/exercism/docs/blob/master/language-tracks/exercises/anatomy/test-suites.md (where it says "In order to provide a better user experience, some language tracks only leave the first test in an exercise test suite active.")

@@ -18,10 +25,14 @@ pub fn area_code(s: &str) -> Option<String> {
}

pub fn pretty_print(s: &str) -> String {
Copy link
Member

Choose a reason for hiding this comment

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

since pretty_print is no longer being tested, you can and should now remove this function

You also can/should remove area_code

@vinmaster vinmaster changed the title Conform phone number unit test to NANP and updated track to 1.2.0 Fixes #310 Conform phone number unit test to NANP and updated track to 1.2.0 Oct 10, 2017
@vinmaster
Copy link
Contributor Author

Thanks for reviewing! I've made the changes mentioned

Copy link
Member

@petertseng petertseng left a comment

Choose a reason for hiding this comment

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

Thank you, this is suitable.

There is one thing I will fix for you before merging, please do it if you choose to submit another PR: The words in https://help.github.com/articles/closing-issues-using-keywords/ need to appear in the description (the field that currently says "No description provided" if you look at #359) or the commit message, not the title as they currently are.

@petertseng petertseng merged commit 431967e into exercism:master Oct 10, 2017
@petertseng petertseng added the sync/tests Keep a test suite/version in sync with exercism/problem-specifications label Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sync/tests Keep a test suite/version in sync with exercism/problem-specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants