Adriano Machado created CAMEL-24053:
---------------------------------------
Summary: camel-openapi-rest-dsl-generator tests fail on Windows
due to CRLF line endings in .txt fixtures
Key: CAMEL-24053
URL: https://issues.apache.org/jira/browse/CAMEL-24053
Project: Camel
Issue Type: Bug
Reporter: Adriano Machado
The RestDslGenerator tests compare generator output \(which uses LF\)
byte\-for\-byte against .txt fixtures read as raw UTF\-8 bytes. On Windows with
core.autocrlf=true the fixtures check out as CRLF, so the equality assertions
fail. There is no .gitattributes rule pinning these fixtures. Fix: add a module
.gitattributes with \*.txt text eol=lf. Latent main\-branch bug, surfaced by
the new camel\-launcher Windows CI job added under CAMEL\-23703.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)