Skip to content

Commit 11c848d

Browse files
committed
Update pr38 to be consistent with changes to pr39.
1 parent dd1821d commit 11c848d

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

tests/expand-manifest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9121,7 +9121,7 @@ <h2>
91219121
<dt>id</dt>
91229122
<dd>#tpr38</dd>
91239123
<dt>Type</dt>
9124-
<dd>jld:NegativeEvaluationTest, jld:ExpandTest</dd>
9124+
<dd>jld:PositiveEvaluationTest, jld:ExpandTest</dd>
91259125
<dt>Purpose</dt>
91269126
<dd>Terms in the form of a keyword, which are not keywords, are ignored.</dd>
91279127
<dt>input</dt>
@@ -9130,7 +9130,7 @@ <h2>
91309130
</dd>
91319131
<dt>expect</dt>
91329132
<dd>
9133-
invalid IRI mapping
9133+
<a href='expand/pr38-out.jsonld'>expand/pr38-out.jsonld</a>
91349134
</dd>
91359135
<dt>Options</dt>
91369136
<dd>

tests/expand-manifest.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,12 +2697,12 @@
26972697
"expect": "expand/pr37-out.jsonld"
26982698
}, {
26992699
"@id": "#tpr38",
2700-
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
2700+
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
27012701
"name": "Ignores a term mapping to a value in the form of a keyword (@reverse).",
27022702
"purpose": "Terms in the form of a keyword, which are not keywords, are ignored.",
27032703
"option": {"specVersion": "json-ld-1.1"},
27042704
"input": "expand/pr38-in.jsonld",
2705-
"expectErrorCode": "invalid IRI mapping"
2705+
"expect": "expand/pr38-out.jsonld"
27062706
}, {
27072707
"@id": "#tpr39",
27082708
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],

tests/expand/pr38-out.jsonld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[{
2+
"@type": ["http://example.com/IgnoreTest"]
3+
}]

tests/toRdf-manifest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8993,7 +8993,7 @@ <h2>
89938993
<dt>id</dt>
89948994
<dd>#tpr38</dd>
89958995
<dt>Type</dt>
8996-
<dd>jld:NegativeEvaluationTest, jld:ToRDFTest</dd>
8996+
<dd>jld:PositiveEvaluationTest, jld:ToRDFTest</dd>
89978997
<dt>Purpose</dt>
89988998
<dd>Terms in the form of a keyword, which are not keywords, are ignored.</dd>
89998999
<dt>input</dt>
@@ -9002,7 +9002,7 @@ <h2>
90029002
</dd>
90039003
<dt>expect</dt>
90049004
<dd>
9005-
invalid IRI mapping
9005+
<a href='toRdf/pr38-out.nq'>toRdf/pr38-out.nq</a>
90069006
</dd>
90079007
<dt>Options</dt>
90089008
<dd>

tests/toRdf-manifest.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2676,12 +2676,12 @@
26762676
"expect": "toRdf/pr37-out.nq"
26772677
}, {
26782678
"@id": "#tpr38",
2679-
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"],
2679+
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
26802680
"name": "Ignores a term mapping to a value in the form of a keyword (@reverse).",
26812681
"purpose": "Terms in the form of a keyword, which are not keywords, are ignored.",
26822682
"option": {"specVersion": "json-ld-1.1"},
26832683
"input": "toRdf/pr38-in.jsonld",
2684-
"expectErrorCode": "invalid IRI mapping"
2684+
"expect": "toRdf/pr38-out.nq"
26852685
}, {
26862686
"@id": "#tpr39",
26872687
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],

tests/toRdf/pr38-out.nq

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/IgnoreTest> .

0 commit comments

Comments
 (0)