Add bad syntax tests for long strings and many quotes
authorAndy Seaborne <andy.seaborne@epimorphics.com>
Thu, 22 Nov 2012 18:06:53 +0000
changeset 554 e80ece4f1ac2
parent 543 a3007d234b3b
child 555 7cfe29bbd291
Add bad syntax tests for long strings and many quotes
rdf-turtle/tests-ttl/manifest.ttl
rdf-turtle/tests-ttl/turtle-syntax-bad-base-02.ttl
rdf-turtle/tests-ttl/turtle-syntax-bad-string-06.ttl
rdf-turtle/tests-ttl/turtle-syntax-bad-string-07.ttl
--- a/rdf-turtle/tests-ttl/manifest.ttl	Thu Nov 15 15:39:15 2012 +0000
+++ b/rdf-turtle/tests-ttl/manifest.ttl	Thu Nov 22 18:06:53 2012 +0000
@@ -158,6 +158,8 @@
     <#turtle-syntax-bad-string-03>
     <#turtle-syntax-bad-string-04>
     <#turtle-syntax-bad-string-05>
+    <#turtle-syntax-bad-string-06>
+    <#turtle-syntax-bad-string-07>
     <#turtle-syntax-bad-num-01>
     <#turtle-syntax-bad-num-02>
     <#turtle-syntax-bad-num-03>
@@ -858,6 +860,16 @@
    mf:action    <turtle-syntax-bad-string-05.ttl> ;
    .
 
+<#turtle-syntax-bad-string-06> rdf:type rdft:TestTurtleNegativeSyntax ;
+   mf:name    "turtle-syntax-bad-string-06" ;
+   mf:action    <turtle-syntax-bad-string-06.ttl> ;
+   .
+
+<#turtle-syntax-bad-string-07> rdf:type rdft:TestTurtleNegativeSyntax ;
+   mf:name    "turtle-syntax-bad-string-07" ;
+   mf:action    <turtle-syntax-bad-string-07.ttl> ;
+   .
+
 <#turtle-syntax-bad-num-01> rdf:type rdft:TestTurtleNegativeSyntax ;
    mf:name    "turtle-syntax-bad-num-01" ;
    mf:action    <turtle-syntax-bad-num-01.ttl> ;
--- a/rdf-turtle/tests-ttl/turtle-syntax-bad-base-02.ttl	Thu Nov 15 15:39:15 2012 +0000
+++ b/rdf-turtle/tests-ttl/turtle-syntax-bad-base-02.ttl	Thu Nov 22 18:06:53 2012 +0000
@@ -1,2 +1,2 @@
-# @base without URI.
+# @base in wrong case
 @BASE <http://example/> .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-ttl/turtle-syntax-bad-string-06.ttl	Thu Nov 22 18:06:53 2012 +0000
@@ -0,0 +1,3 @@
+# Long literal with 4"
+@prefix : <http://example/> .
+:s :p """abc""""@en .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/tests-ttl/turtle-syntax-bad-string-07.ttl	Thu Nov 22 18:06:53 2012 +0000
@@ -0,0 +1,3 @@
+# Long literal with 4'
+@prefix : <http://example/> .
+:s :p '''abc''''@en .