Skip to main content

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

Btw. I’ve had tests fail in IntelliJ before, but pass with maven. 

Which test was it? I can try in IntelliJ on my mac. 

Håvard

> On 13 Apr 2021, at 06:05, Jeen Broekstra <jeen@xxxxxxxxxxxx> wrote:
> 
> 
> 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
> _______________________________________________
> rdf4j-dev mailing list
> rdf4j-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rdf4j-dev


Back to the top