Do not eliminate duplicate values in sets during expansion
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 19 Jun 2012 17:01:32 +0200
changeset 726 a55f7c5f185d
parent 725 b0ee107cc36e
child 727 a565cb14c2c2
Do not eliminate duplicate values in sets during expansion

This addresses #129.
test-suite/tests/expand-0027-out.jsonld
test-suite/tests/expand-manifest.jsonld
--- a/test-suite/tests/expand-0027-out.jsonld	Fri Jun 15 18:06:18 2012 +0200
+++ b/test-suite/tests/expand-0027-out.jsonld	Tue Jun 19 17:01:32 2012 +0200
@@ -11,6 +11,7 @@
   "http://example.com/myset": [
     {"@value": 1},
     {"@value": 2},
+    {"@value": 2},
     {"@value": 3}
   ]
 }]
--- a/test-suite/tests/expand-manifest.jsonld	Fri Jun 15 18:06:18 2012 +0200
+++ b/test-suite/tests/expand-manifest.jsonld	Tue Jun 19 17:01:32 2012 +0200
@@ -136,7 +136,7 @@
     "expect": "expand-0026-out.jsonld"
   }, {
     "@type": ["test:TestCase", "jld:ExpandTest"],
-    "name": "Keep duplicate values in @list, remove from @set",
+    "name": "Keep duplicate values in @list and @set",
     "input": "expand-0027-in.jsonld",
     "expect": "expand-0027-out.jsonld"
   }]