Skip to content

Commit

Permalink
Move some expand/toRdf tests to avoid rebase collisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jul 29, 2024
1 parent c9ffc91 commit 8ec7642
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 15 deletions.
7 changes: 7 additions & 0 deletions tests/expand-manifest.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,13 @@
"purpose": "The value for a @json @set term MUST be an array.",
"input": "expand/er57-in.jsonld",
"expectErrorCode": "invalid set or list object"
}, {
"@id": "#ter58",
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
"name": "Array not found for @json @set.",
"purpose": "The value for a @json @set term MUST be an array.",
"input": "expand/er57-in.jsonld",
"expectErrorCode": "invalid set or list object"
}, {
"@id": "#ter58",
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
Expand Down
2 changes: 1 addition & 1 deletion tests/expand/er57-in.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"prop": {
"@id": "ex:prop",
"@type": "@json",
"@container": "@list"
"@container": "@set"
}
},
"prop": "value"
Expand Down
11 changes: 11 additions & 0 deletions tests/expand/er58-in.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"@context": {
"prop": {
"@id": "ex:prop",
"@type": "@json",
"@container": "@list"
}
},
"prop": "value"
}

26 changes: 13 additions & 13 deletions tests/toRdf-manifest.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2252,19 +2252,19 @@
"input": "expand/er56-in.jsonld",
"expectErrorCode": "keyword redefinition"
}, {
"@id": "#ter56",
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest" ],
"name": "Array not found for @json @list.",
"purpose": "The value for a @json @list term MUST be an array.",
"input": "toRdf/er57-in.jsonld",
"expectErrorCode": "invalid set or list object"
}, {
"@id": "#ter57",
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest" ],
"name": "Array not found for @json @set.",
"purpose": "The value for a @json @set term MUST be an array.",
"input": "toRdf/er56-in.jsonld",
"expectErrorCode": "invalid set or list object"
"@id": "#ter57",
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest" ],
"name": "Array not found for @json @list.",
"purpose": "The value for a @json @list term MUST be an array.",
"input": "toRdf/er57-in.jsonld",
"expectErrorCode": "invalid set or list object"
}, {
"@id": "#ter58",
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest" ],
"name": "Array not found for @json @set.",
"purpose": "The value for a @json @set term MUST be an array.",
"input": "toRdf/er58-in.jsonld",
"expectErrorCode": "invalid set or list object"
}, {
"@id": "#tin01",
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
Expand Down
2 changes: 1 addition & 1 deletion tests/toRdf/er57-in.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"prop": {
"@id": "ex:prop",
"@type": "@json",
"@container": "@list"
"@container": "@set"
}
},
"prop": "value"
Expand Down
10 changes: 10 additions & 0 deletions tests/toRdf/er58-in.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"@context": {
"prop": {
"@id": "ex:prop",
"@type": "@json",
"@container": "@list"
}
},
"prop": "value"
}

0 comments on commit 8ec7642

Please sign in to comment.