--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-context.jsonld Sun Feb 10 17:04:21 2013 +0100
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "prop1": { "@id": [ "http://example.com/iri-shared", "http://example.com/iri1"] },
+ "prop2": { "@id": [ "http://example.com/iri-shared", "http://example.com/iri2"] }
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-in.jsonld Sun Feb 10 17:04:21 2013 +0100
@@ -0,0 +1,10 @@
+[
+ {
+ "http://example.com/iri1": [ { "@value": "a" } ],
+ "http://example.com/iri-shared": [
+ { "@value": "b" },
+ { "@value": "c" }
+ ],
+ "http://example.com/iri2": [ { "@value": "d" } ]
+ }
+]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-out.jsonld Sun Feb 10 17:04:21 2013 +0100
@@ -0,0 +1,13 @@
+{
+ "@context": {
+ "prop1": {
+ "@id": ["http://example.com/iri-shared", "http://example.com/iri1"]
+ },
+ "prop2": {
+ "@id": ["http://example.com/iri-shared", "http://example.com/iri2"]
+ }
+ },
+ "http://example.com/iri-shared": ["b", "c"],
+ "http://example.com/iri1": "a",
+ "http://example.com/iri2": "d"
+}
--- a/test-suite/tests/compact-manifest.jsonld Sun Feb 10 16:42:27 2013 +0100
+++ b/test-suite/tests/compact-manifest.jsonld Sun Feb 10 17:04:21 2013 +0100
@@ -282,6 +282,12 @@
"input": "compact-0046-in.jsonld",
"context": "compact-0046-context.jsonld",
"expect": "compact-0046-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:CompactTest"],
+ "name": "Property generators match IRIs but not data",
+ "input": "compact-0047-in.jsonld",
+ "context": "compact-0047-context.jsonld",
+ "expect": "compact-0047-out.jsonld"
}
]
}