Fix test so that @base is set to none (not reset) for @base: null.
authorDave Longley <dlongley@digitalbazaar.com>
Thu, 08 Aug 2013 15:40:06 -0400
changeset 1854 eb7a5a3432ef
parent 1853 93925faf6d1c
child 1855 a2e31cf549bc
Fix test so that @base is set to none (not reset) for @base: null.

- See: https://github.com/json-ld/json-ld.org/issues/223#issuecomment-17553907
test-suite/tests/toRdf-0100-in.jsonld
test-suite/tests/toRdf-0100-out.nq
--- a/test-suite/tests/toRdf-0100-in.jsonld	Thu Aug 08 09:18:35 2013 -0700
+++ b/test-suite/tests/toRdf-0100-in.jsonld	Thu Aug 08 15:40:06 2013 -0400
@@ -23,7 +23,7 @@
         },
         "@id": "../document-relative",
         "@type": "#document-relative",
-        "property": "only @base is reset"
+        "property": "@base is set to none"
       }
     ]
   }
--- a/test-suite/tests/toRdf-0100-out.nq	Thu Aug 08 09:18:35 2013 -0700
+++ b/test-suite/tests/toRdf-0100-out.nq	Thu Aug 08 15:40:06 2013 -0400
@@ -1,5 +1,7 @@
+<../document-relative> <http://example.com/vocab#property> "@base is set to none" .
+<../document-relative> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <#document-relative> .
+<http://example.org/document-base-overwritten> <http://example.com/vocab#property> <../document-relative> .
 <http://example.org/document-base-overwritten> <http://example.com/vocab#property> <http://json-ld.org/test-suite/document-relative> .
 <http://example.org/document-base-overwritten> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/test/#document-base-overwritten> .
-<http://json-ld.org/test-suite/document-relative> <http://example.com/vocab#property> "only @base is reset" .
 <http://json-ld.org/test-suite/document-relative> <http://example.com/vocab#property> <http://example.org/document-base-overwritten> .
 <http://json-ld.org/test-suite/document-relative> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://json-ld.org/test-suite/tests/toRdf-0100-in.jsonld#document-relative> .