aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/bad
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-06-25 23:47:34 -0400
committerDavid Robillard <d@drobilla.net>2025-06-25 23:59:12 -0400
commit24a6433ce9c0a7882803aa8fe32de861602b2ba0 (patch)
treefb5ffb2054ed16f88d177c5f16fd025793fce719 /test/extra/bad
parentd083227f3007a94cc3eea7d14dd621142e46b62b (diff)
downloadserd-main.tar.gz
serd-main.tar.bz2
serd-main.zip
Fix handling of bad predicates in anonymous blank nodesHEADmain
Diffstat (limited to 'test/extra/bad')
-rw-r--r--test/extra/bad/bad-predicate-in-blank.ttl1
-rw-r--r--test/extra/bad/manifest.ttl6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/extra/bad/bad-predicate-in-blank.ttl b/test/extra/bad/bad-predicate-in-blank.ttl
new file mode 100644
index 00000000..e4200f15
--- /dev/null
+++ b/test/extra/bad/bad-predicate-in-blank.ttl
@@ -0,0 +1 @@
+<a> <b> [ ERRORHERE <c> ]
diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl
index a4bb4b4f..acadde28 100644
--- a/test/extra/bad/manifest.ttl
+++ b/test/extra/bad/manifest.ttl
@@ -84,6 +84,7 @@
<#bad-object2>
<#bad-paths>
<#bad-pn-escape>
+ <#bad-predicate-in-blank>
<#bad-prefix>
<#bad-prefix-dot>
<#bad-prefix-missing-colon>
@@ -494,6 +495,11 @@
mf:action <bad-pn-escape.ttl> ;
mf:name "bad-pn-escape" .
+<#bad-predicate-in-blank>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-predicate-in-blank.ttl> ;
+ mf:name "bad-predicate-in-blank" .
+
<#bad-prefix>
a rdft:TestTurtleNegativeSyntax ;
mf:action <bad-prefix.ttl> ;