-
-
Notifications
You must be signed in to change notification settings - Fork 555
pascals-triangle: implement error object #1336
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
Conversation
@@ -1,6 +1,6 @@ | |||
{ | |||
"exercise": "pascals-triangle", | |||
"version": "1.3.0", | |||
"version": "1.4.0", | |||
"comments": [ | |||
"Expectations are represented here as an array of arrays.", | |||
"How you represent this idiomatically in your language is up to you.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment needs fixing.
@@ -80,7 +80,7 @@ | |||
"input": { | |||
"count": -1 | |||
}, | |||
"expected": -1 | |||
"expected": {"error": "count must be positive"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope for this PR, but (opinion) this test should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Insti your meaning that, in your opinion, this case should be removed because it deals with invalid input? I agree with that opinion. If I am understanding you correctly I will leave this as it is. Another PR can be opened to to remove this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rpottsoh you understand me and I agree with you. 😄
per exercism#1311 pascals-triangle: update comment re: errors Per @Insti's suggestion....
1ab90c5
to
7dd47bd
Compare
per #1311