--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0052-in.jsonld Tue Feb 12 12:14:34 2013 +0100
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "@vocab": "http://example.org/",
+ "property": "vocabRelativeProperty"
+ },
+ "property": "must expand to http://example.org/vocabRelativeProperty",
+ "http://example.org/property": "ok"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0052-out.jsonld Tue Feb 12 12:14:34 2013 +0100
@@ -0,0 +1,6 @@
+[
+ {
+ "http://example.org/property": [ { "@value": "ok" } ],
+ "http://example.org/vocabRelativeProperty": [ { "@value": "must expand to http://example.org/vocabRelativeProperty" } ]
+ }
+]
--- a/test-suite/tests/expand-manifest.jsonld Tue Feb 12 12:04:07 2013 +0100
+++ b/test-suite/tests/expand-manifest.jsonld Tue Feb 12 12:14:34 2013 +0100
@@ -261,6 +261,11 @@
"name": "Expansion of keyword aliases in term definitions",
"input": "expand-0051-in.jsonld",
"expect": "expand-0051-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:ExpandTest"],
+ "name": "@vocab-relative IRIs in term definitions",
+ "input": "expand-0052-in.jsonld",
+ "expect": "expand-0052-out.jsonld"
}
]
}