Update compact-0007 to check both sides of term selection case, where one is an @id, and the other is a string.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 18 Apr 2012 13:36:05 -0700
changeset 535 9cdc28410cf4
parent 534 cd22a6ca6e70
child 536 9ff40bb5396c
Update compact-0007 to check both sides of term selection case, where one is an @id, and the other is a string.
test-suite/tests/compact-0007-in.jsonld
test-suite/tests/compact-0007-out.jsonld
--- a/test-suite/tests/compact-0007-in.jsonld	Wed Apr 18 11:17:55 2012 -0700
+++ b/test-suite/tests/compact-0007-in.jsonld	Wed Apr 18 13:36:05 2012 -0700
@@ -7,7 +7,7 @@
     },
     {
       "@id": "http://example.org/test#jane",
-      "http://example.org/vocab#authored": ["http://example.org/test#chapter"],
+      "http://example.org/vocab#authored": [{"@id": "http://example.org/test#chapter"}],
       "http://xmlns.com/foaf/0.1/name": ["Jane"]
     },
     {
--- a/test-suite/tests/compact-0007-out.jsonld	Wed Apr 18 11:17:55 2012 -0700
+++ b/test-suite/tests/compact-0007-out.jsonld	Wed Apr 18 13:36:05 2012 -0700
@@ -27,7 +27,7 @@
         "@id": "http://example.org/test#book",
         "dc:contributor": "Writer",
         "dc:title": "My Book",
-        "ex:contains": "http://example.org/test#chapter"
+        "http://example.org/vocab#contains": "http://example.org/test#chapter"
       }
     }
   ]