-
Notifications
You must be signed in to change notification settings - Fork 142
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
The closures lesson doesn't validate properly #9
Comments
You've got a typo on line 3:
Should be
|
Well... This is embarassing... Have you considered adding a diff tool to show where the difference is? |
Yeah, better output is definitely needed. Currently it's just a string comparison and fails if they're not equal. Do you know of any string diffing tools I could use with tape (the test runner which verifies the solution)? |
Potentially tap-prettify or tap-difflet? |
I think the difficulty in diff'ing is that we're basically comparing a simpler AST representation to your solution - which doesn't keep formatting etc. |
With the following code
I get the output
The text was updated successfully, but these errors were encountered: