Skip to content

Commit 82d53e1

Browse files
niklaslgkellogg
authored andcommitted
Add compact#t0114 roundtrip test of expand#t0131
1 parent 5d34a26 commit 82d53e1

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

tests/compact-manifest.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,6 +3212,40 @@ <h2>
32123212
</dd>
32133213
</dl>
32143214
</dd>
3215+
<dt id='t0114'>
3216+
Test t0114 Reverse term with property based indexed container
3217+
</dt>
3218+
<dd>
3219+
<dl class='entry'>
3220+
<dt>id</dt>
3221+
<dd>#t0114</dd>
3222+
<dt>Type</dt>
3223+
<dd>jld:PositiveEvaluationTest, jld:CompactTest</dd>
3224+
<dt>Purpose</dt>
3225+
<dd>With reverse term using @container: @index and @index set to a property, ensure round-tripping from expaned form</dd>
3226+
<dt>input</dt>
3227+
<dd>
3228+
<a href='expand/0131-out.jsonld'>expand/0131-out.jsonld</a>
3229+
</dd>
3230+
<dt>context</dt>
3231+
<dd>
3232+
<a href='expand/0131-in.jsonld'>expand/0131-in.jsonld</a>
3233+
</dd>
3234+
<dt>expect</dt>
3235+
<dd>
3236+
<a href='expand/0131-in.jsonld'>expand/0131-in.jsonld</a>
3237+
</dd>
3238+
<dt>Options</dt>
3239+
<dd>
3240+
<dl class='options'>
3241+
<dt>base</dt>
3242+
<dd>https://example.org/</dd>
3243+
<dt>specVersion</dt>
3244+
<dd>json-ld-1.1</dd>
3245+
</dl>
3246+
</dd>
3247+
</dl>
3248+
</dd>
32153249
<dt id='tc001'>
32163250
Test tc001 adding new term
32173251
</dt>

tests/compact-manifest.jsonld

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,15 @@
957957
"input": "compact/0113-in.jsonld",
958958
"context": "compact/0113-context.jsonld",
959959
"expect": "compact/0113-out.jsonld"
960+
}, {
961+
"@id": "#t0114",
962+
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
963+
"name": "Reverse term with property based indexed container",
964+
"purpose": "With reverse term using @container: @index and @index set to a property, ensure round-tripping from expaned form",
965+
"input": "expand/0131-out.jsonld",
966+
"context": "expand/0131-in.jsonld",
967+
"expect": "expand/0131-in.jsonld",
968+
"option": {"base": "https://example.org/", "specVersion": "json-ld-1.1"}
960969
}, {
961970
"@id": "#tc001",
962971
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],

0 commit comments

Comments
 (0)