--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0051-in.jsonld Tue Feb 12 12:04:07 2013 +0100
@@ -0,0 +1,8 @@
+{
+ "@context": [
+ { "id": "@id" },
+ { "url": "id" }
+ ],
+ "url": "/issue/1",
+ "http://example.com/property": "ok"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0051-out.jsonld Tue Feb 12 12:04:07 2013 +0100
@@ -0,0 +1,6 @@
+[{
+ "http://example.com/property": [{
+ "@value": "ok"
+ }],
+ "@id": "http://json-ld.org/issue/1"
+}]
--- a/test-suite/tests/expand-manifest.jsonld Tue Feb 12 11:47:35 2013 +0100
+++ b/test-suite/tests/expand-manifest.jsonld Tue Feb 12 12:04:07 2013 +0100
@@ -256,6 +256,11 @@
"name": "Context definitions using compact IRIs don't inherit the definitions of the prefix",
"input": "expand-0050-in.jsonld",
"expect": "expand-0050-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:ExpandTest"],
+ "name": "Expansion of keyword aliases in term definitions",
+ "input": "expand-0051-in.jsonld",
+ "expect": "expand-0051-out.jsonld"
}
]
}