You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "stefanhuber (via GitHub)" <gi...@apache.org> on 2023/08/06 19:41:55 UTC

[GitHub] [camel-karavan] stefanhuber commented on issue #843: karavan-core tests fail on Windows

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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org