davidchambers/doctest — pull request #11 by danse (2013-05-11 15:26:26+00:00)
Title: Multiline test

Hi! I added a multiline test, looks good!

Some comments:
- One coffee test is failing, and will always fail until java and coffee test will remain binded to each other like now
- In order to get out of the confusion (because the new test was not runned), the simplest way i found was to add a "dump" flag. Even if you'll probably dislike this way of passing command line parameters, i hope the functionality will stay, i think it's useful. I was trying to pass the command line parameters in the less intrusive way i was able to. The advantage of dumping was in order to see if the rewriting worked correctly, aside from doctest running. Maybe you can obtain the same result with the browser debugger, i'm still used to the command line and i would love to see some doctests specifically dedicated to each of the two rewriters. Unfortunately it is tricky to include doctests in doctests, especially given the javascript lack of support for multiline stings