Skip to content

Commit

Permalink
Update expand and toRdf tests ter53 to be for specVersion json-ld-1.1.
Browse files Browse the repository at this point in the history
Fixes #507.
  • Loading branch information
gkellogg committed Aug 29, 2020
1 parent a622ef6 commit 77e06d5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/expand-manifest.html
Original file line number Diff line number Diff line change
Expand Up @@ -5895,6 +5895,13 @@ <h2>
<dd>
invalid @prefix value
</dd>
<dt>Options</dt>
<dd>
<dl class='options'>
<dt>specVersion</dt>
<dd>json-ld-1.1</dd>
</dl>
</dd>
</dl>
</dd>
<dt id='ter54'>
Expand Down
3 changes: 2 additions & 1 deletion tests/expand-manifest.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,8 @@
"name": "Invalid prefix value",
"purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @prefix value",
"input": "expand/er53-in.jsonld",
"expectErrorCode": "invalid @prefix value"
"expectErrorCode": "invalid @prefix value",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#ter54",
"@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ],
Expand Down
7 changes: 7 additions & 0 deletions tests/toRdf-manifest.html
Original file line number Diff line number Diff line change
Expand Up @@ -7184,6 +7184,13 @@ <h2>
<dd>
invalid @prefix value
</dd>
<dt>Options</dt>
<dd>
<dl class='options'>
<dt>specVersion</dt>
<dd>json-ld-1.1</dd>
</dl>
</dd>
</dl>
</dd>
<dt id='ter54'>
Expand Down
3 changes: 2 additions & 1 deletion tests/toRdf-manifest.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,8 @@
"name": "Invalid prefix value",
"purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @prefix value",
"input": "toRdf/er53-in.jsonld",
"expectErrorCode": "invalid @prefix value"
"expectErrorCode": "invalid @prefix value",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#ter54",
"@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ],
Expand Down

0 comments on commit 77e06d5

Please sign in to comment.