Added expand-0024 from @fconil to test expanding multiple contexts. This satisfies the pull request for issue #89 commit 5e92f8a137b1e1a902ad7f00be6d3040c400073c.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0024-in.jsonld Wed Apr 18 11:17:55 2012 -0700
@@ -0,0 +1,14 @@
+{
+ "@context": [
+ {
+ "name": "http://xmlns.com/foaf/0.1/name",
+ "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"}
+ },
+ {"ical": "http://www.w3.org/2002/12/cal/ical#"}
+ ],
+ "@id": "http://example.com/speakers#Alice",
+ "name": "Alice",
+ "homepage": "http://xkcd.com/177/",
+ "ical:summary": "Alice Talk",
+ "ical:location": "Lyon Convention Centre, Lyon, France"
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0024-out.jsonld Wed Apr 18 11:17:55 2012 -0700
@@ -0,0 +1,7 @@
+[{
+ "@id": "http://example.com/speakers#Alice",
+ "http://xmlns.com/foaf/0.1/name": ["Alice"],
+ "http://xmlns.com/foaf/0.1/homepage": [{"@id": "http://xkcd.com/177/"}],
+ "http://www.w3.org/2002/12/cal/ical#summary": ["Alice Talk"],
+ "http://www.w3.org/2002/12/cal/ical#location": ["Lyon Convention Centre, Lyon, France"]
+}]
\ No newline at end of file
--- a/test-suite/tests/expand-manifest.jsonld Wed Apr 18 13:15:18 2012 -0400
+++ b/test-suite/tests/expand-manifest.jsonld Wed Apr 18 11:17:55 2012 -0700
@@ -119,5 +119,10 @@
"name": "Expanding lists and sets with properties having coercion coerces list/set values",
"input": "expand-0023-in.jsonld",
"expect": "expand-0023-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:ExpandTest"],
+ "name": "Expanding lists and sets with properties having coercion coerces list/set values",
+ "input": "expand-0024-in.jsonld",
+ "expect": "expand-0024-out.jsonld"
}]
}