Added error-0023 to test for invalid IRI when @type has a relative IRI in the context.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/error-0023-in.jsonld Sun Aug 25 22:52:52 2013 -0700
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "term": {"@id": "http://example/term", "@type": "relative/iri"}
+ },
+ "@id": "http://example/test#example"
+}
\ No newline at end of file
--- a/test-suite/tests/error-manifest.jsonld Sun Aug 25 22:20:19 2013 -0700
+++ b/test-suite/tests/error-manifest.jsonld Sun Aug 25 22:52:52 2013 -0700
@@ -160,6 +160,13 @@
"purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found",
"input": "error-0022-in.jsonld",
"expect": "invalid language mapping"
+ }, {
+ "@id": "#t0023",
+ "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
+ "name": "Invalid IRI mapping",
+ "purpose": "Verifies that an exception is raised in IRI Expansion when a invalid IRI mapping is found",
+ "input": "error-0023-in.jsonld",
+ "expect": "invalid IRI mapping"
}
]
}