aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/good
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra/good')
-rw-r--r--test/extra/good/manifest.ttl48
-rw-r--r--test/extra/good/test-bom-only.nt0
-rw-r--r--test/extra/good/test-bom-only.ttl1
-rw-r--r--test/extra/good/test-boolish-prefix.nt2
-rw-r--r--test/extra/good/test-boolish-prefix.ttl5
-rw-r--r--test/extra/good/test-decimal-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-decimal-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-double-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-double-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-false-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-false-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-integer-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-integer-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-nq-syntax-all-rules.nq2
-rw-r--r--test/extra/good/test-nt-syntax-all-rules.nt2
-rw-r--r--test/extra/good/test-trig-syntax-all-rules.trig4
-rw-r--r--test/extra/good/test-true-ends-with-dot.nt1
-rw-r--r--test/extra/good/test-true-ends-with-dot.ttl4
-rw-r--r--test/extra/good/test-ttl-syntax-all-rules.ttl6
19 files changed, 88 insertions, 7 deletions
diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl
index 350d7d9c..659f8fd1 100644
--- a/test/extra/good/manifest.ttl
+++ b/test/extra/good/manifest.ttl
@@ -16,16 +16,21 @@
<#test-blank-node-statement>
<#test-blankdot>
<#test-bom>
+ <#test-boolish-prefix>
<#test-changing-base>
<#test-comment-whitespace>
<#test-cr>
<#test-digit-start-pname>
+ <#test-decimal-ends-with-dot>
<#test-double>
+ <#test-double-ends-with-dot>
<#test-empty-path-base>
<#test-eof-at-page-end>
<#test-ext-namedblank-iri>
<#test-ext-namedblank-prefix>
+ <#test-false-ends-with-dot>
<#test-id>
+ <#test-integer-ends-with-dot>
<#test-list-in-blank>
<#test-list-subject>
<#test-local-name-ends-with-dot>
@@ -56,6 +61,7 @@
<#test-several-eaten-dots>
<#test-string-escapes>
<#test-trig-syntax-all-rules>
+ <#test-true-ends-with-dot>
<#test-ttl-syntax-all-rules>
<#test-uri>
) .
@@ -120,6 +126,18 @@
mf:name "test-bom" ;
mf:result <test-bom.nt> .
+<#test-bom-only>
+ a rdft:TestTurtleEval ;
+ mf:action <test-bom-only.ttl> ;
+ mf:name "test-bom-only" ;
+ mf:result <test-bom-only.nt> .
+
+<#test-boolish-prefix>
+ a rdft:TestTurtleEval ;
+ mf:action <test-boolish-prefix.ttl> ;
+ mf:name "test-boolish-prefix" ;
+ mf:result <test-boolish-prefix.nt> .
+
<#test-changing-base>
a rdft:TestTurtleEval ;
mf:action <test-changing-base.ttl> ;
@@ -144,12 +162,24 @@
mf:name "test-digit-start-pname" ;
mf:result <test-digit-start-pname.nt> .
+<#test-decimal-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-decimal-ends-with-dot.ttl> ;
+ mf:name "test-decimal-ends-with-dot" ;
+ mf:result <test-decimal-ends-with-dot.nt> .
+
<#test-double>
a rdft:TestTurtleEval ;
mf:action <test-double.ttl> ;
mf:name "test-double" ;
mf:result <test-double.nt> .
+<#test-double-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-double-ends-with-dot.ttl> ;
+ mf:name "test-double-ends-with-dot" ;
+ mf:result <test-double-ends-with-dot.nt> .
+
<#test-empty-path-base>
a rdft:TestTurtleEval ;
mf:action <test-empty-path-base.ttl> ;
@@ -174,12 +204,24 @@
mf:name "test-ext-namedblank-prefix" ;
mf:result <test-ext-namedblank-prefix.nt> .
+<#test-false-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-false-ends-with-dot.ttl> ;
+ mf:name "test-false-ends-with-dot" ;
+ mf:result <test-false-ends-with-dot.nt> .
+
<#test-id>
a rdft:TestTurtleEval ;
mf:action <test-id.ttl> ;
mf:name "test-id" ;
mf:result <test-id.nt> .
+<#test-integer-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-integer-ends-with-dot.ttl> ;
+ mf:name "test-integer-ends-with-dot" ;
+ mf:result <test-integer-ends-with-dot.nt> .
+
<#test-list-in-blank>
a rdft:TestTurtleEval ;
mf:action <test-list-in-blank.ttl> ;
@@ -344,6 +386,12 @@
mf:action <test-trig-syntax-all-rules.trig> ;
mf:name "test-trig-syntax-all-rules" .
+<#test-true-ends-with-dot>
+ a rdft:TestTurtleEval ;
+ mf:action <test-true-ends-with-dot.ttl> ;
+ mf:name "test-true-ends-with-dot" ;
+ mf:result <test-true-ends-with-dot.nt> .
+
<#test-ttl-syntax-all-rules>
a rdft:TestTurtlePositiveSyntax ;
mf:action <test-ttl-syntax-all-rules.ttl> ;
diff --git a/test/extra/good/test-bom-only.nt b/test/extra/good/test-bom-only.nt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/extra/good/test-bom-only.nt
diff --git a/test/extra/good/test-bom-only.ttl b/test/extra/good/test-bom-only.ttl
new file mode 100644
index 00000000..5f282702
--- /dev/null
+++ b/test/extra/good/test-bom-only.ttl
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/test/extra/good/test-boolish-prefix.nt b/test/extra/good/test-boolish-prefix.nt
new file mode 100644
index 00000000..d49eeab2
--- /dev/null
+++ b/test/extra/good/test-boolish-prefix.nt
@@ -0,0 +1,2 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/falseish#o> .
+<http://example.org/s> <http://example.org/p> <http://example.org/trueish#o> .
diff --git a/test/extra/good/test-boolish-prefix.ttl b/test/extra/good/test-boolish-prefix.ttl
new file mode 100644
index 00000000..81ffdf11
--- /dev/null
+++ b/test/extra/good/test-boolish-prefix.ttl
@@ -0,0 +1,5 @@
+@prefix false.ish: <http://example.org/falseish#> .
+@prefix true.ish: <http://example.org/trueish#> .
+
+<http://example.org/s> <http://example.org/p> false.ish:o .
+<http://example.org/s> <http://example.org/p> true.ish:o .
diff --git a/test/extra/good/test-decimal-ends-with-dot.nt b/test/extra/good/test-decimal-ends-with-dot.nt
new file mode 100644
index 00000000..be0802bc
--- /dev/null
+++ b/test/extra/good/test-decimal-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12.3"^^<http://www.w3.org/2001/XMLSchema#decimal> .
diff --git a/test/extra/good/test-decimal-ends-with-dot.ttl b/test/extra/good/test-decimal-ends-with-dot.ttl
new file mode 100644
index 00000000..a63970d3
--- /dev/null
+++ b/test/extra/good/test-decimal-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.3.
diff --git a/test/extra/good/test-double-ends-with-dot.nt b/test/extra/good/test-double-ends-with-dot.nt
new file mode 100644
index 00000000..20e4395e
--- /dev/null
+++ b/test/extra/good/test-double-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12.3e4"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/test/extra/good/test-double-ends-with-dot.ttl b/test/extra/good/test-double-ends-with-dot.ttl
new file mode 100644
index 00000000..4bd17a0b
--- /dev/null
+++ b/test/extra/good/test-double-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.3e4.
diff --git a/test/extra/good/test-false-ends-with-dot.nt b/test/extra/good/test-false-ends-with-dot.nt
new file mode 100644
index 00000000..3b811813
--- /dev/null
+++ b/test/extra/good/test-false-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/test/extra/good/test-false-ends-with-dot.ttl b/test/extra/good/test-false-ends-with-dot.ttl
new file mode 100644
index 00000000..14e2aa90
--- /dev/null
+++ b/test/extra/good/test-false-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p false.
diff --git a/test/extra/good/test-integer-ends-with-dot.nt b/test/extra/good/test-integer-ends-with-dot.nt
new file mode 100644
index 00000000..7d6ff362
--- /dev/null
+++ b/test/extra/good/test-integer-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/test/extra/good/test-integer-ends-with-dot.ttl b/test/extra/good/test-integer-ends-with-dot.ttl
new file mode 100644
index 00000000..350ea41d
--- /dev/null
+++ b/test/extra/good/test-integer-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p 12.
diff --git a/test/extra/good/test-nq-syntax-all-rules.nq b/test/extra/good/test-nq-syntax-all-rules.nq
index a8b80b9a..f9bffe20 100644
--- a/test/extra/good/test-nq-syntax-all-rules.nq
+++ b/test/extra/good/test-nq-syntax-all-rules.nq
@@ -2,6 +2,6 @@
_:e.u.s <http://example.org/p> _:o.
_:e.u.s <http://example.org/p> "o"@en-gb _:g.
_:s <http://example.org/p> "ob\t\b\n\r\f\\\"\'\u0025\U00015678ject" <http://example.org/g> .
-_:s <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" <http://example.org/g> .
+_:Σ <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" <http://example.org/g> .
_:s <http://example.org/p> "o"^^<http://example.org/T> <http://example.org/g> .
_:s <http://example.org/p> "o"@en _:g .
diff --git a/test/extra/good/test-nt-syntax-all-rules.nt b/test/extra/good/test-nt-syntax-all-rules.nt
index ed84f410..c626a702 100644
--- a/test/extra/good/test-nt-syntax-all-rules.nt
+++ b/test/extra/good/test-nt-syntax-all-rules.nt
@@ -4,4 +4,4 @@ _:s <http://example.org/p> "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽
_:s <http://example.org/p> "o"^^<http://example.org/T> .
_:s <http://example.org/p> "o"@en .
_:e.u.s <http://example.org/p> "o"@en-gb .
-_:e.u.s <http://example.org/p> _:o.
+_:e.u.s <http://example.org/p> _:Ω.
diff --git a/test/extra/good/test-trig-syntax-all-rules.trig b/test/extra/good/test-trig-syntax-all-rules.trig
index 97557b86..c824ffae 100644
--- a/test/extra/good/test-trig-syntax-all-rules.trig
+++ b/test/extra/good/test-trig-syntax-all-rules.trig
@@ -7,13 +7,13 @@
""string""\t\b\n\r\f\'\u0025\U00015678""" .
eg:s eg:p "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
eg:sub%25ject eg:pr\~d "o"^^eg:T .
-eg:sub%25ject eg:pr\~d "o"@en .
+eg:s\@bject eg:pr\~d "o"@en .
_:e.u.s eg:p "o"@en-gb .
_:e.u.s eg:p _:o.
_:e.u.s eg:p‿r⁀d 2.
_:e.u.s eg:prèd 3 .
_:e.u.s eg:pͯ 4.5.
-eg:s eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
+eg:Σ eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
eg:s eg:p .7e8 , .9E0 , 1.e2 , 3.E4 .
eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
[ ] eg:p 0.e1, 2.E3.
diff --git a/test/extra/good/test-true-ends-with-dot.nt b/test/extra/good/test-true-ends-with-dot.nt
new file mode 100644
index 00000000..9938065b
--- /dev/null
+++ b/test/extra/good/test-true-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
diff --git a/test/extra/good/test-true-ends-with-dot.ttl b/test/extra/good/test-true-ends-with-dot.ttl
new file mode 100644
index 00000000..ebd3b6e1
--- /dev/null
+++ b/test/extra/good/test-true-ends-with-dot.ttl
@@ -0,0 +1,4 @@
+@prefix eg: <http://example.org/eg#> .
+
+eg:s
+ eg:p true.
diff --git a/test/extra/good/test-ttl-syntax-all-rules.ttl b/test/extra/good/test-ttl-syntax-all-rules.ttl
index ead2e8a8..dd4fa315 100644
--- a/test/extra/good/test-ttl-syntax-all-rules.ttl
+++ b/test/extra/good/test-ttl-syntax-all-rules.ttl
@@ -6,13 +6,13 @@
""string""\t\b\n\r\f\'\u0025\U00015678""" .
eg:s eg:p "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
eg:sub%25ject eg:pr\~d "o"^^eg:T .
-eg:sub%25ject eg:pr\~d "o"@en .
+eg:s\@bject eg:pr\~d "o"@en .
_:e.u.s eg:p "o"@en-gb .
_:e.u.s eg:p _:o.
_:e.u.s eg:p‿r⁀d 2.
_:e.u.s eg:prèd 3 .
_:e.u.s eg:pͯ 4.5.
-eg:s eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
+eg:Σ eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
eg:s eg:p .7e8 , .9E0 , 1.e2 , 3.E4 .
eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
[ ] eg:p 0.e1, 2.E3.
@@ -20,7 +20,7 @@ eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
eg:s eg:p [] .
[
eg:p1 eg:o1 ;
- eg:p2 _:o2 ;
+ eg:p2 _:β2 ;
eg:p3 "o3" ;
] a eg:S .