stefanhuber commented on issue #843:
URL: https://github.com/apache/camel-karavan/issues/843#issuecomment-1666952482

   There are currently 4 occassions in the `karavan-core` project, which fail, 
due to the reason on Windows. A pragmatic solution would be to replace all 
`\r\n` with `\n`: `expect(yaml.replaceAll("\r\n", "\n")).to.equal(yaml2)`. 
Another idea would be to use deep equality and the parsed yaml representation: 
`expect(jsYaml.load(yaml)).to.deep.equal(jsYaml.load(yaml2))`. The first 
appraoch seems reasonable in this case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to