Change tests to drop unmapped properties during expansion
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sun, 01 Apr 2012 19:59:06 +0800
changeset 446 ac879566d928
parent 445 29d68098da10
child 447 0b852c7d1186
Change tests to drop unmapped properties during expansion

This addresses #56
test-suite/tests/expand-0003-out.jsonld
test-suite/tests/expand-manifest.jsonld
--- a/test-suite/tests/expand-0003-out.jsonld	Sun Apr 01 19:54:51 2012 +0800
+++ b/test-suite/tests/expand-0003-out.jsonld	Sun Apr 01 19:59:06 2012 +0800
@@ -1,11 +1,3 @@
 [{
-  "@id": "http://example.org/id",
-  "regularJson": {
-    "nonJsonLd": "property",
-    "deep": [{
-      "foo": "bar"
-    }, {
-      "bar": "foo"
-    }]
-  }
+  "@id": "http://example.org/id"
 }]
--- a/test-suite/tests/expand-manifest.jsonld	Sun Apr 01 19:54:51 2012 +0800
+++ b/test-suite/tests/expand-manifest.jsonld	Sun Apr 01 19:59:06 2012 +0800
@@ -16,7 +16,7 @@
     "expect": "expand-0002-out.jsonld"
   }, {
     "@type": ["test:TestCase", "jld:ExpandTest"],
-    "name": "drop null and keep unmapped properties",
+    "name": "drop null and unmapped properties",
     "input": "expand-0003-in.jsonld",
     "expect": "expand-0003-out.jsonld"
   }, {