Skip to content

Commit ecae41d

Browse files
committed
Update expand-0032 according resolution of #165
1 parent 45a7680 commit ecae41d

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"@context": {
3-
"@vocab": "http://example.org/vocab/",
4-
"term": { "@id": null }
3+
"@vocab": "http://xmlns.com/foaf/0.1/",
4+
"from": null,
5+
"university": { "@id": null }
56
},
6-
"@id": "example1",
7-
"term": "test"
7+
"@id": "http://me.markus-lanthaler.com/",
8+
"name": "Markus Lanthaler",
9+
"from": "Italy",
10+
"university": "TU Graz"
811
}
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[
2-
{
3-
"@id": "http://json-ld.org/test-suite/tests/example1",
4-
"http://example.org/vocab/term": [ { "@value": "test" } ]
5-
}
2+
{
3+
"@id": "http://me.markus-lanthaler.com/",
4+
"http://xmlns.com/foaf/0.1/name": [
5+
{
6+
"@value": "Markus Lanthaler"
7+
}
8+
]
9+
}
610
]

test-suite/tests/expand-manifest.jsonld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
"expect": "expand-0031-out.jsonld"
164164
}, {
165165
"@type": ["test:TestCase", "jld:ExpandTest"],
166-
"name": "setting @id to null has no effect when @vocab is used",
166+
"name": "Mapping a term to null decouples it from @vocab",
167167
"input": "expand-0032-in.jsonld",
168168
"expect": "expand-0032-out.jsonld"
169169
}, {

0 commit comments

Comments
 (0)