Change trig-syntax-bad-struct-08 & 11 to be positive syntax tests, allowing a missing '.' or trailing ';' as the last tripleBlock.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 15 Jun 2013 14:59:28 -0700
changeset 851 5d868e350809
parent 850 7cbc8835794b
child 854 7ff926d07b49
Change trig-syntax-bad-struct-08 & 11 to be positive syntax tests, allowing a missing '.' or trailing ';' as the last tripleBlock.
trig/tests/manifest.ttl
trig/tests/trig-syntax-bad-struct-08.trig
trig/tests/trig-syntax-bad-struct-11.trig
trig/tests/trig-syntax-struct-06.trig
trig/tests/trig-syntax-struct-07.trig
--- a/trig/tests/manifest.ttl	Sat Jun 15 13:26:36 2013 -0700
+++ b/trig/tests/manifest.ttl	Sat Jun 15 14:59:28 2013 -0700
@@ -27,6 +27,8 @@
     <#trig-syntax-bad-base-05>
     <#trig-syntax-bad-prefix-06>
     <#trig-syntax-bad-prefix-07>
+    <#trig-syntax-struct-06>
+    <#trig-syntax-struct-07>
 
     # From Turtle tests
     # atomic tests
@@ -235,10 +237,8 @@
     <#trig-syntax-bad-n3-extras-11>
     <#trig-syntax-bad-n3-extras-12>
     <#trig-syntax-bad-n3-extras-13>
-    <#trig-syntax-bad-struct-08>
     <#trig-syntax-bad-struct-09>
     <#trig-syntax-bad-struct-10>
-    <#trig-syntax-bad-struct-11>
     <#trig-syntax-bad-struct-12>
     <#trig-syntax-bad-struct-13>
     <#trig-syntax-bad-struct-14>
@@ -383,6 +383,20 @@
    mf:action    <trig-syntax-bad-prefix-07.trig> ;
    .
 
+<#trig-syntax-struct-06> rdf:type rdft:TestTrigPositiveSyntax ;
+   mf:name    "trig-syntax-struct-06" ;
+   rdfs:comment "missing '.'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <trig-syntax-struct-06.trig> ;
+   .
+
+<#trig-syntax-struct-07> rdf:type rdft:TestTrigPositiveSyntax ;
+   mf:name    "trig-syntax-struct-07" ;
+   rdfs:comment "trailing ';' no '.'" ;
+   rdft:approval rdft:Proposed ;
+   mf:action    <trig-syntax-struct-07.trig> ;
+   .
+
 # Original Turtle tests
 # atomic tests
 <#IRI_subject> rdf:type rdft:TestTrigEval ;
@@ -1900,13 +1914,6 @@
    mf:action    <trig-syntax-bad-n3-extras-13.trig> ;
    .
 
-<#trig-syntax-bad-struct-08> rdf:type rdft:TestTrigNegativeSyntax ;
-   mf:name    "trig-syntax-bad-struct-08" ;
-   rdfs:comment "missing '.' (negative test)" ;
-   rdft:approval rdft:Proposed ;
-   mf:action    <trig-syntax-bad-struct-08.trig> ;
-   .
-
 <#trig-syntax-bad-struct-09> rdf:type rdft:TestTrigNegativeSyntax ;
    mf:name    "trig-syntax-bad-struct-09" ;
    rdfs:comment "extra '.' (negative test)" ;
@@ -1921,13 +1928,6 @@
    mf:action    <trig-syntax-bad-struct-10.trig> ;
    .
 
-<#trig-syntax-bad-struct-11> rdf:type rdft:TestTrigNegativeSyntax ;
-   mf:name    "trig-syntax-bad-struct-11" ;
-   rdfs:comment "trailing ';' no '.' (negative test)" ;
-   rdft:approval rdft:Proposed ;
-   mf:action    <trig-syntax-bad-struct-11.trig> ;
-   .
-
 <#trig-syntax-bad-struct-12> rdf:type rdft:TestTrigNegativeSyntax ;
    mf:name    "trig-syntax-bad-struct-12" ;
    rdfs:comment "subject, predicate, no object (negative test)" ;
--- a/trig/tests/trig-syntax-bad-struct-08.trig	Sat Jun 15 13:26:36 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# No DOT
-{<http://example/s> <http://example/p> <http://example/o>}
--- a/trig/tests/trig-syntax-bad-struct-11.trig	Sat Jun 15 13:26:36 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-# Trailing ;
-{<http://example/s> <http://example/p> <http://example/o> ;}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-struct-06.trig	Sat Jun 15 14:59:28 2013 -0700
@@ -0,0 +1,2 @@
+# No DOT
+{<http://example/s> <http://example/p> <http://example/o>}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trig/tests/trig-syntax-struct-07.trig	Sat Jun 15 14:59:28 2013 -0700
@@ -0,0 +1,2 @@
+# Trailing ;
+{<http://example/s> <http://example/p> <http://example/o> ;}