Move error test from error-expand-manifest.jsonld to expand manifest.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 24 Aug 2013 16:34:34 -0700
changeset 1924 69400da81a54
parent 1923 29f4687ca894
child 1925 1adbde0b1ac2
Move error test from error-expand-manifest.jsonld to expand manifest.
test-suite/tests/error-expand-0001-in.jsonld
test-suite/tests/expand-0076-in.jsonld
test-suite/tests/expand-manifest.jsonld
--- a/test-suite/tests/error-expand-0001-in.jsonld	Sat Aug 24 14:39:48 2013 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-  "@context": {
-    "@type": "@id"
-  },
-  "@type": "http://example.org/type"
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0076-in.jsonld	Sat Aug 24 16:34:34 2013 -0700
@@ -0,0 +1,6 @@
+{
+  "@context": {
+    "@type": "@id"
+  },
+  "@type": "http://example.org/type"
+}
--- a/test-suite/tests/expand-manifest.jsonld	Sat Aug 24 14:39:48 2013 -0700
+++ b/test-suite/tests/expand-manifest.jsonld	Sat Aug 24 16:34:34 2013 -0700
@@ -531,6 +531,13 @@
       "purpose": "Use @vocab to map all properties to blank node identifiers",
       "input": "expand-0075-in.jsonld",
       "expect": "expand-0075-out.jsonld"
+    }, {
+      "@id": "#t0076",
+      "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
+      "name": "Keywords cannot be aliased to other keywords",
+      "purpose": "Verifies that an exception callback is invoked when aliasing a keyword to another keyword",
+      "input": "expand-0076-in.jsonld",
+      "expect": "keyword redefinition"
     }
   ]
 }