--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0046-context.jsonld Sun Feb 10 16:42:27 2013 +0100
@@ -0,0 +1,5 @@
+{
+ "@context": {
+ "name": { "@id": ["http://xmlns.com/foaf/0.1/name", "http://schema.org/name"] }
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0046-in.jsonld Sun Feb 10 16:42:27 2013 +0100
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "name": { "@id": ["http://xmlns.com/foaf/0.1/name", "http://schema.org/name"] }
+ },
+ "@id": "http://me.markus-lanthaler.com/",
+ "name": [],
+ "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0046-out.jsonld Sun Feb 10 16:42:27 2013 +0100
@@ -0,0 +1,8 @@
+{
+ "@context": {
+ "name": { "@id": ["http://xmlns.com/foaf/0.1/name", "http://schema.org/name"] }
+ },
+ "@id": "http://me.markus-lanthaler.com/",
+ "name": [],
+ "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler"
+}
--- a/test-suite/tests/compact-manifest.jsonld Fri Feb 08 18:33:48 2013 +0100
+++ b/test-suite/tests/compact-manifest.jsonld Sun Feb 10 16:42:27 2013 +0100
@@ -276,6 +276,12 @@
"input": "compact-0045-in.jsonld",
"context": "compact-0045-context.jsonld",
"expect": "compact-0045-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:CompactTest"],
+ "name": "Property generator empty array round-tripping",
+ "input": "compact-0046-in.jsonld",
+ "context": "compact-0046-context.jsonld",
+ "expect": "compact-0046-out.jsonld"
}
]
}