aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-08-28 12:42:50 +0200
committerDavid Robillard <d@drobilla.net>2017-08-28 12:43:18 +0200
commit91650728254f98e5949b28e3ad7bdac29047d2ae (patch)
tree087001506a78e952e33c3b3fefff8446d4b8233a /tests
parent1cd321825c52eddd4175cb4ec58ae8d7ad2da48d (diff)
downloadserd-91650728254f98e5949b28e3ad7bdac29047d2ae.tar.gz
serd-91650728254f98e5949b28e3ad7bdac29047d2ae.tar.bz2
serd-91650728254f98e5949b28e3ad7bdac29047d2ae.zip
Report errors for prematurely terminated statements
Diffstat (limited to 'tests')
-rw-r--r--tests/bad/bad-dot-after-subject.ttl1
-rw-r--r--tests/bad/bad-semicolon-after-subject.ttl1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/bad/bad-dot-after-subject.ttl b/tests/bad/bad-dot-after-subject.ttl
new file mode 100644
index 00000000..e76e0ea2
--- /dev/null
+++ b/tests/bad/bad-dot-after-subject.ttl
@@ -0,0 +1 @@
+<http://example.org/s> . <http://example.org/p> <http://example.org/o> .
diff --git a/tests/bad/bad-semicolon-after-subject.ttl b/tests/bad/bad-semicolon-after-subject.ttl
new file mode 100644
index 00000000..582c6ea0
--- /dev/null
+++ b/tests/bad/bad-semicolon-after-subject.ttl
@@ -0,0 +1 @@
+<http://example.org/s> ; <http://example.org/p> <http://example.org/o> .