diff options
author | David Robillard <d@drobilla.net> | 2013-03-30 15:34:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-03-30 15:34:51 +0000 |
commit | 326d672cc93ebea8309c98c4549d30e7dc9c2eba (patch) | |
tree | 6c35739d23d056eb2e75b0ec3e77d1af572ba7af /tests/tests-ttl | |
parent | d9015f088eb9fe9b2eeea2c2508bd0e0d94f709f (diff) | |
download | serd-326d672cc93ebea8309c98c4549d30e7dc9c2eba.tar.gz serd-326d672cc93ebea8309c98c4549d30e7dc9c2eba.tar.bz2 serd-326d672cc93ebea8309c98c4549d30e7dc9c2eba.zip |
Implement case-insensitive language tags from new Turtle spec.
git-svn-id: http://svn.drobilla.net/serd/trunk@444 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/tests-ttl')
-rw-r--r-- | tests/tests-ttl/langtagged_LONG_with_subtag.nt | 1 | ||||
-rw-r--r-- | tests/tests-ttl/langtagged_LONG_with_subtag.ttl | 3 | ||||
-rw-r--r-- | tests/tests-ttl/manifest.ttl | 8 |
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/tests-ttl/langtagged_LONG_with_subtag.nt b/tests/tests-ttl/langtagged_LONG_with_subtag.nt new file mode 100644 index 00000000..629cbf42 --- /dev/null +++ b/tests/tests-ttl/langtagged_LONG_with_subtag.nt @@ -0,0 +1 @@ +<http://example.org/ex#a> <http://example.org/ex#b> "Cheers"@en-UK . diff --git a/tests/tests-ttl/langtagged_LONG_with_subtag.ttl b/tests/tests-ttl/langtagged_LONG_with_subtag.ttl new file mode 100644 index 00000000..7fd527c4 --- /dev/null +++ b/tests/tests-ttl/langtagged_LONG_with_subtag.ttl @@ -0,0 +1,3 @@ +# Test long literal with lang tag +@prefix : <http://example.org/ex#> . +:a :b """Cheers"""@en-UK . diff --git a/tests/tests-ttl/manifest.ttl b/tests/tests-ttl/manifest.ttl index 195edc9e..7b9a5f4b 100644 --- a/tests/tests-ttl/manifest.ttl +++ b/tests/tests-ttl/manifest.ttl @@ -286,6 +286,7 @@ <#LITERAL_LONG2_with_REVERSE_SOLIDUS> <#turtle-syntax-bad-LITERAL2_with_langtag_and_datatype> <#two_LITERAL_LONG2s> + <#langtagged_LONG_with_subtag> # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 @@ -1902,6 +1903,13 @@ mf:result <two_LITERAL_LONG2s.nt> ; . +<#langtagged_LONG_with_subtag> rdf:type rdft:TestTurtleEval ; + mf:name "langtagged_LONG_with_subtag" ; + rdfs:comment "langtagged LONG with subtag \"\"\"Cheers\"\"\"@en-UK" ; + mf:action <langtagged_LONG_with_subtag.ttl> ; + mf:result <langtagged_LONG_with_subtag.nt> ; + . + # tests from David Robillard # http://www.w3.org/2011/rdf-wg/wiki/Turtle_Candidate_Recommendation_Comments#c21 <#turtle-syntax-bad-blank-label-dot-end> |