From f2ea3154a742238f0b9943bb58efd0627ffda3e8 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Thu, 24 Nov 2022 16:40:49 -0500
Subject: Gracefully handle bad characters in Turtle blank node syntax

---
 test/bad/bad-blank-syntax.ttl | 1 +
 test/bad/manifest.ttl         | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 test/bad/bad-blank-syntax.ttl

(limited to 'test')

diff --git a/test/bad/bad-blank-syntax.ttl b/test/bad/bad-blank-syntax.ttl
new file mode 100644
index 00000000..6c7117a2
--- /dev/null
+++ b/test/bad/bad-blank-syntax.ttl
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> _|invalid .
diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl
index 0f4f1338..05bcc69d 100644
--- a/test/bad/manifest.ttl
+++ b/test/bad/manifest.ttl
@@ -24,6 +24,7 @@
 		<#bad-14>
 		<#bad-base>
 		<#bad-blank>
+		<#bad-blank-syntax>
 		<#bad-bom>
 		<#bad-char-in-local>
 		<#bad-char-in-prefix>
@@ -166,6 +167,11 @@
 	mf:name "bad-blank" ;
 	mf:action <bad-blank.ttl> .
 
+<#bad-blank-syntax>
+	rdf:type rdft:TestTurtleNegativeSyntax ;
+	mf:name "bad-blank-syntax" ;
+	mf:action <bad-blank-syntax.ttl> .
+
 <#bad-bom>
 	rdf:type rdft:TestTurtleNegativeSyntax ;
 	mf:name "bad-bom" ;
-- 
cgit v1.2.1