--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-context.jsonld Fri May 03 11:17:50 2013 +0200
@@ -0,0 +1,5 @@
+{
+ "@context": {
+ "link": { "@id": "http://example.com/link", "@type": "@id" }
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-in.jsonld Fri May 03 11:17:50 2013 +0200
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "link": { "@id": "http://example.com/link", "@type": "@id" }
+ },
+ "link": "relative-url"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/compact-0047-out.jsonld Fri May 03 11:17:50 2013 +0200
@@ -0,0 +1,6 @@
+{
+ "@context": {
+ "link": { "@id": "http://example.com/link", "@type": "@id" }
+ },
+ "link": "relative-url"
+}
--- a/test-suite/tests/compact-manifest.jsonld Thu May 02 16:51:48 2013 -0400
+++ b/test-suite/tests/compact-manifest.jsonld Fri May 03 11:17:50 2013 +0200
@@ -329,6 +329,13 @@
"context": "compact-0046-context.jsonld",
"expect": "compact-0046-out.jsonld"
}, {
+ "@id": "#t0047",
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
+ "name": "Round-trip relative URLs",
+ "input": "compact-0047-in.jsonld",
+ "context": "compact-0047-context.jsonld",
+ "expect": "compact-0047-out.jsonld"
+ }, {
"@id": "#t0048",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings",