Fix line endings in c14n test files for n-triples and n-quads#3848
Fix line endings in c14n test files for n-triples and n-quads#3848utafrali wants to merge 1 commit intoapache:mainfrom
Conversation
|
Hi @utafrali, Thank you very much. THis shows that there is another problem in this aera. The Nowadays #3849 removes the jena-arq (And for anyone digging into the details - the rdf-tests-cg RDF/XML tests will have to change at sometime.) |
GitHub issue resolved #3845
Pull request Description:
The canonicalization tests for n-triples and n-quads were failing on Windows due to line ending inconsistencies. Git was normalizing line endings differently across platforms, which caused the test comparisons to fail.
This adds
.gitattributesentries to enforcetext eol=lffor the canonicalization test files in bothrdf12/rdf-n-triples/c14n/andrdf12/rdf-n-quads/c14n/, matching the pattern already used for other test files in the repo.Tests pass locally on both platforms after the change.
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.