[ 
https://issues.apache.org/jira/browse/CAMEL-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-24053:
--------------------------------
    Issue Type: Test  (was: Task)

> 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: Test
>            Reporter: Adriano Machado
>            Priority: Major
>
> 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)

Reply via email to