Added conflicting indexes error test case.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/error-0043-in.jsonld Tue Aug 27 15:50:46 2013 -0700
@@ -0,0 +1,10 @@
+[
+ {
+ "@id": "http://example/foo",
+ "@index": "bar"
+ },
+ {
+ "@id": "http://example/foo",
+ "@index": "baz"
+ }
+]
\ No newline at end of file
--- a/test-suite/tests/error-manifest.jsonld Tue Aug 27 15:32:17 2013 -0700
+++ b/test-suite/tests/error-manifest.jsonld Tue Aug 27 15:50:46 2013 -0700
@@ -301,6 +301,13 @@
"input": "error-0042-in.jsonld",
"context": "error-0042-context.jsonld",
"expect": "compaction to list of lists"
+ }, {
+ "@id": "#t0043",
+ "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ],
+ "name": "Conflicting indexes",
+ "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found",
+ "input": "error-0043-in.jsonld",
+ "expect": "conflicting indexes"
}
]
}