--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0050-in.jsonld Tue Feb 12 11:47:35 2013 +0100
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "issue": { "@id": "http://example.com/issue/", "@type": "@id" },
+ "issue:raisedBy": { "@container": "@set" }
+ },
+ "issue": "/issue/1",
+ "issue:raisedBy": "Markus"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0050-out.jsonld Tue Feb 12 11:47:35 2013 +0100
@@ -0,0 +1,6 @@
+[
+ {
+ "http://example.com/issue/": [ { "@id": "http://json-ld.org/issue/1" } ],
+ "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ]
+ }
+]
--- a/test-suite/tests/expand-manifest.jsonld Mon Feb 11 16:54:07 2013 -0500
+++ b/test-suite/tests/expand-manifest.jsonld Tue Feb 12 11:47:35 2013 +0100
@@ -251,6 +251,11 @@
"name": "Do not add @id to @value objects when expanding property generators",
"input": "expand-0049-in.jsonld",
"expect": "expand-0049-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:ExpandTest"],
+ "name": "Context definitions using compact IRIs don't inherit the definitions of the prefix",
+ "input": "expand-0050-in.jsonld",
+ "expect": "expand-0050-out.jsonld"
}
]
}