Open Dannnno opened 9 years ago
You've got a typo on line 3:
quuz = 13
Should be
quux = 13
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