raml-org / raml-js-parser

(deprecated) A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
195 stars 53 forks source link

Indent is off by one and snippet check is currently inverse #147

Closed blakeembrey closed 9 years ago

dmartinezg commented 9 years ago

Add test for regression

blakeembrey commented 9 years ago

Sorry for the delay, I just went ahead and fixed a few more things with the error message output while testing. Namely:

Edit: Wasn't sure whether to include non-printable characters in the character count and/or strip them, so I left them there and only adjusted the rendered carat index.

dmartinezg commented 9 years ago

Remove the '.only()' and merge

blakeembrey commented 9 years ago

Removed and I added a timeout to the remote call test (was failing otherwise, at least locally). Should remove that later so we're not hitting a random insurance company servers.