Change test to expand default language.
--- a/test-suite/tests/expand-0022-in.jsonld Thu Apr 12 14:48:13 2012 -0400
+++ b/test-suite/tests/expand-0022-in.jsonld Thu Apr 12 15:13:26 2012 -0400
@@ -1,12 +1,7 @@
{
"@context": {
- "term1": {
- "@id": "http://example.com/term1",
- "@type": "http://example.com/type"
- },
- "term2": {"@id": "http://example.com/term2"},
+ "term": "http://example.com/term",
"@language": "en"
},
- "term1": {"@value": "v1"},
- "term2": {"@value": "v2"}
+ "term": "v"
}
\ No newline at end of file
--- a/test-suite/tests/expand-0022-out.jsonld Thu Apr 12 14:48:13 2012 -0400
+++ b/test-suite/tests/expand-0022-out.jsonld Thu Apr 12 15:13:26 2012 -0400
@@ -1,4 +1,3 @@
[{
- "http://example.com/term1": [{"@value": "v1", "@type": "http://example.com/type"}],
- "http://example.com/term2": [{"@value": "v2", "@language": "en"}]
+ "http://example.com/term": [{"@value": "v", "@language": "en"}]
}]
\ No newline at end of file
--- a/test-suite/tests/expand-manifest.jsonld Thu Apr 12 14:48:13 2012 -0400
+++ b/test-suite/tests/expand-manifest.jsonld Thu Apr 12 15:13:26 2012 -0400
@@ -111,7 +111,7 @@
"expect": "expand-0021-out.jsonld"
}, {
"@type": ["test:TestCase", "jld:ExpandTest"],
- "name": "expand value that has only @value key",
+ "name": "expand value with default language",
"input": "expand-0022-in.jsonld",
"expect": "expand-0022-out.jsonld"
}]