Change error-expand- to just error-, and note that the first test is for expansion.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sun, 25 Aug 2013 14:38:21 -0700
changeset 1928 d5d9c0e0c885
parent 1927 feceb7d9b3a4
child 1929 ce527df44fc4
Change error-expand- to just error-, and note that the first test is for expansion.
test-suite/tests/error-0001-in.jsonld
test-suite/tests/error-expand-0001-in.jsonld
test-suite/tests/error-expand-manifest.jsonld
test-suite/tests/error-manifest.jsonld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/error-0001-in.jsonld	Sun Aug 25 14:38:21 2013 -0700
@@ -0,0 +1,6 @@
+{
+  "@context": {
+    "@type": "@id"
+  },
+  "@type": "http://example.org/type"
+}
--- a/test-suite/tests/error-expand-0001-in.jsonld	Sun Aug 25 14:35:16 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-  "@context": {
-    "@type": "@id"
-  },
-  "@type": "http://example.org/type"
-}
--- a/test-suite/tests/error-expand-manifest.jsonld	Sun Aug 25 14:35:16 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-{
-  "@context": "http://json-ld.org/test-suite/context.jsonld",
-  "@id": "",
-  "@type": "mf:Manifest",
-  "description": "JSON-LD to Expansion tests use object compare",
-  "name": "error-expand",
-  "baseIri": "http://json-ld.org/test-suite/tests/",
-  "sequence": [
-    {
-      "@id": "#t0001",
-      "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:ApiErrorTest" ],
-      "name": "Keywords cannot be aliased to other keywords",
-      "purpose": "Verifies that an exception callback is invoked when aliasing a keyword to another keyword",
-      "input": "error-expand-0001-in.jsonld",
-      "expect": "keyword redefinition"
-    }
-  ]
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/error-manifest.jsonld	Sun Aug 25 14:38:21 2013 -0700
@@ -0,0 +1,18 @@
+{
+  "@context": "http://json-ld.org/test-suite/context.jsonld",
+  "@id": "",
+  "@type": "mf:Manifest",
+  "description": "JSON-LD to Expansion tests use object compare",
+  "name": "error-expand",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
+  "sequence": [
+    {
+      "@id": "#t0001",
+      "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
+      "name": "Keywords cannot be aliased to other keywords",
+      "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword",
+      "input": "error-0001-in.jsonld",
+      "expect": "keyword redefinition"
+    }
+  ]
+}