|
I still encounters this issue in a clean checkout. I found out that if Git configuration core.autocrlf is true, it will automatically convert line endings into CRLF and the test will fail because it expects LF. To avoid such conversion, a .gitattributes file can be added to org.hibernate.test.fileimport with the following content:
multi-line-statements.sql text eol=lf
Also, in Windows, IDE such as IntelilJ IDEA will automatically convert line endings to CRLF. This should be switched off for multi-line-statements.sql or the test will fail because now it expects LF line separator.
|