Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rdf4j-dev] windows line endings and our tests

This recently came up again because we have a new contributor who has seen some tests failing, where I _think_ the issue is likely one of line endings (they are on Windows).

Now, as far as I know our git repo is set up to handle this properly, in .gitattributes. However, some of our tests in the suite rely on things like "check that this produced string is exactly equal to this hardcoded string", and we tend to use "\n" in there. A good example is org.eclipse.rdf4j.query.algebra.evaluation.impl.QueryCostEstimatesTest.

Bart, I believe you work on Windows as well. Do you remember having to do anything special on your end in order for such tests to run successfully?

Jeen

Back to the top