Skip to content

bracket-push: update tests to v1.2.0 #1309

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

Merged
merged 5 commits into from
Feb 20, 2018

Conversation

mrcfps
Copy link

@mrcfps mrcfps commented Feb 17, 2018

Closes #1223. Canonical data.

Besides updating version number, I have renamed the function check_bracket and its parameter input_string to is_paired with parameter value to be consistent with canonical data.

@@ -1,4 +1,4 @@
def check_brackets(string):
Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to see the parameter name match the one from the stub.

@@ -1,2 +1,2 @@
def check_brackets(input_string):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that input_string is more descriptive. To me, value is too generic. I would prefer that we leave this as-is.

Change both params to descriptive `input_string` in example and stub
@cmccandless cmccandless merged commit cfa4287 into exercism:master Feb 20, 2018
@mrcfps mrcfps deleted the bracket-push-1223 branch February 26, 2018 12:44
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.

2 participants