aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-blank-cont.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-19 01:26:44 +0000
committerDavid Robillard <d@drobilla.net>2011-06-19 01:26:44 +0000
commitf2a4b931e85438381eb56051947cef58b364c3eb (patch)
tree097990bc120b60da9633d060b9030d7a89966a9a /tests/test-blank-cont.ttl
parente52ac06922ca578807e61bb4bb5eed4ac626863a (diff)
downloadserd-f2a4b931e85438381eb56051947cef58b364c3eb.tar.gz
serd-f2a4b931e85438381eb56051947cef58b364c3eb.tar.bz2
serd-f2a4b931e85438381eb56051947cef58b364c3eb.zip
Fix abbreviation of repeated predicates with blank objects, and abbreviation memory errors (hopefully fix ticket #710).
Add example test from ticket #710 (as of this revision, this graph, tests/test-blank-cont.ttl, correctly serialises with serdi -i turtle -o turtle, though the indentation is a bit off...). git-svn-id: http://svn.drobilla.net/serd/trunk@205 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/test-blank-cont.ttl')
-rw-r--r--tests/test-blank-cont.ttl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-blank-cont.ttl b/tests/test-blank-cont.ttl
new file mode 100644
index 00000000..b161cdc4
--- /dev/null
+++ b/tests/test-blank-cont.ttl
@@ -0,0 +1,4 @@
+@prefix : <http://example.org/base#> .
+
+:subj :pred [ a :FirstThing ] ;
+ :pred [ a :SecondThing ] .