Skip to content

GH-3845: gitattributes setting for rdf-tests CG tests - fix2#3851

Merged
arne-bdt merged 1 commit intoapache:mainfrom
arne-bdt:GH-3845-gitattributes-setting-for-rdf-tests-CG-tests-fix2
Apr 10, 2026
Merged

GH-3845: gitattributes setting for rdf-tests CG tests - fix2#3851
arne-bdt merged 1 commit intoapache:mainfrom
arne-bdt:GH-3845-gitattributes-setting-for-rdf-tests-CG-tests-fix2

Conversation

@arne-bdt
Copy link
Copy Markdown
Contributor

@arne-bdt arne-bdt commented Apr 10, 2026

GitHub issue resolved #3845

Pull request Description:

Fixes git checkout line endings on windows for rdf12 nq test files.

Before: org.apache.jena.riot.Scripts_C14N.testFactory_n_quads_c14n did not succeed on windows due to "\r\n" line endings.

Adds forgotten line to testing/rdf-tests-cg/rdf/.gitattributes:
rdf12/**/c14n/*-c14n.nq text eol=lf

Additional fix to #3849


  • Tests are included.
  • Commits have been squashed to remove intermediate development commit messages.
  • Key commit messages start with the issue number (GH-xxxx)

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.


See the Apache Jena "Contributing" guide.

Fixes git checkout line endings on windows for rdf12 nq test files.

Before: org.apache.jena.riot.Scripts_C14N.testFactory_n_quads_c14n did not succeed on windows due to "\r\n" line endings.

Adds forgotten .gitattributes line:
rdf12/**/c14n/*-c14n.nq                      text eol=lf

Additional fix to apache#3849
Solves apache#3845
@arne-bdt arne-bdt merged commit 3c0e219 into apache:main Apr 10, 2026
1 check passed
@afs
Copy link
Copy Markdown
Member

afs commented Apr 10, 2026

Additional fix to #3849

and also to w3c/rdf-tests/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canonicalization tests - N-triples and N-Quads --> fails - most likely it only fails on windows

3 participants