--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0028-context.jsonld Sun Dec 09 00:39:18 2012 +0100
@@ -0,0 +1,9 @@
+{
+ "@context": {
+ "@vocab": "http://xmlns.com/foaf/0.1/",
+ "homepage": {
+ "@type": "@id"
+ },
+ "uri": "@id"
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0028-in.jsonld Sun Dec 09 00:39:18 2012 +0100
@@ -0,0 +1,12 @@
+{
+ "@context": {
+ "@vocab": "http://xmlns.com/foaf/0.1/",
+ "homepage": {
+ "@type": "@id"
+ },
+ "uri": "@id"
+ },
+ "uri": "http://me.markus-lanthaler.com/",
+ "name": "Markus Lanthaler",
+ "homepage": "http://www.markus-lanthaler.com/"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0028-out.jsonld Sun Dec 09 00:39:18 2012 +0100
@@ -0,0 +1,12 @@
+{
+ "@context": {
+ "@vocab": "http://xmlns.com/foaf/0.1/",
+ "homepage": {
+ "@type": "@id"
+ },
+ "uri": "@id"
+ },
+ "uri": "http://me.markus-lanthaler.com/",
+ "name": "Markus Lanthaler",
+ "homepage": "http://www.markus-lanthaler.com/"
+}
--- a/test-suite/tests/compact-manifest.jsonld Sat Dec 08 14:32:46 2012 -0800
+++ b/test-suite/tests/compact-manifest.jsonld Sun Dec 09 00:39:18 2012 +0100
@@ -168,5 +168,11 @@
"input": "compact-0027-in.jsonld",
"context": "compact-0027-context.jsonld",
"expect": "compact-0027-out.jsonld"
+ }, {
+ "@type": ["test:TestCase", "jld:CompactTest"],
+ "name": "Alias keywords and use @vocab",
+ "input": "compact-0028-in.jsonld",
+ "context": "compact-0028-context.jsonld",
+ "expect": "compact-0028-out.jsonld"
}]
}