Skip to content

Commit

Permalink
Add test for name with dot as last char
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel-s committed Jan 18, 2025
1 parent fa76877 commit 1bbd9bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/fixtures/turtle/gh51-sweetrdf-dot-in-name.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<http://example.org/#Subject.WithADot> <http://example.org/#predicate.withADot> <http://example.org/#Object.WithADot> .
<http://example.org/#Subject.With.Dots> <http://example.org/#predicate.with.dots> <http://example.org/#Object.With.Dots> .
<http://example.org/#sub> <http://example.org/#pred> <http://example.org/#Object.WithADot> .
3 changes: 3 additions & 0 deletions test/fixtures/turtle/gh51-sweetrdf-dot-in-name.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
# See https://github.com/sweetrdf/easyrdf/issues/51
:Subject.WithADot :predicate.withADot :Object.WithADot .
:Subject.With.Dots :predicate.with.dots :Object.With.Dots .

# A dot as last char is not part of the name but parsed as statement ending
:sub :pred :Object.WithADot.

0 comments on commit 1bbd9bb

Please sign in to comment.