Update expand-0032 according resolution of #165
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Mon, 10 Dec 2012 20:44:35 +0100
changeset 1018 7d551722c894
parent 1017 4c7cf7a89e50
child 1019 f6d6980c714d
Update expand-0032 according resolution of #165
test-suite/tests/expand-0032-in.jsonld
test-suite/tests/expand-0032-out.jsonld
test-suite/tests/expand-manifest.jsonld
--- a/test-suite/tests/expand-0032-in.jsonld	Mon Dec 10 19:37:33 2012 +0100
+++ b/test-suite/tests/expand-0032-in.jsonld	Mon Dec 10 20:44:35 2012 +0100
@@ -1,8 +1,11 @@
 {
   "@context": {
-    "@vocab": "http://example.org/vocab/",
-    "term": { "@id": null }
+    "@vocab": "http://xmlns.com/foaf/0.1/",
+    "from": null,
+    "university": { "@id": null }
   },
-  "@id": "example1",
-  "term": "test"
+  "@id": "http://me.markus-lanthaler.com/",
+  "name": "Markus Lanthaler",
+  "from": "Italy",
+  "university": "TU Graz"
 }
--- a/test-suite/tests/expand-0032-out.jsonld	Mon Dec 10 19:37:33 2012 +0100
+++ b/test-suite/tests/expand-0032-out.jsonld	Mon Dec 10 20:44:35 2012 +0100
@@ -1,6 +1,10 @@
 [
-  {
-    "@id": "http://json-ld.org/test-suite/tests/example1",
-    "http://example.org/vocab/term": [ { "@value": "test" } ]
-  }
+   {
+      "@id": "http://me.markus-lanthaler.com/",
+      "http://xmlns.com/foaf/0.1/name": [
+         {
+            "@value": "Markus Lanthaler"
+         }
+      ]
+   }
 ]
--- a/test-suite/tests/expand-manifest.jsonld	Mon Dec 10 19:37:33 2012 +0100
+++ b/test-suite/tests/expand-manifest.jsonld	Mon Dec 10 20:44:35 2012 +0100
@@ -163,7 +163,7 @@
       "expect": "expand-0031-out.jsonld"
     }, {
       "@type": ["test:TestCase", "jld:ExpandTest"],
-      "name": "setting @id to null has no effect when @vocab is used",
+      "name": "Mapping a term to null decouples it from @vocab",
       "input": "expand-0032-in.jsonld",
       "expect": "expand-0032-out.jsonld"
     }, {