Skip to content

Commit 911f254

Browse files
committed
Add a test for term selection where case of language does not match.
1 parent 200e31f commit 911f254

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/compact-manifest.jsonld

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@
12141214
}, {
12151215
"@id": "#tdi05",
12161216
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
1217-
"name": "simple language mapwith overriding term direction",
1217+
"name": "simple language map with overriding term direction",
12181218
"purpose": "Term selection with language maps and @direction.",
12191219
"option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
12201220
"input": "compact/di05-in.jsonld",
@@ -1223,7 +1223,7 @@
12231223
}, {
12241224
"@id": "#tdi06",
12251225
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
1226-
"name": "simple language mapwith overriding null direction",
1226+
"name": "simple language map with overriding null direction",
12271227
"purpose": "Term selection with language maps and @direction.",
12281228
"option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"},
12291229
"input": "compact/di06-in.jsonld",
@@ -1517,7 +1517,15 @@
15171517
"context": "compact/js11-context.jsonld",
15181518
"expect": "compact/js11-out.jsonld",
15191519
"option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"}
1520-
}, {
1520+
}, {
1521+
"@id": "#tla01",
1522+
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
1523+
"name": "most specific term matching in @list.",
1524+
"purpose": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected, without considering case of language.",
1525+
"input": "compact/la01-in.jsonld",
1526+
"context": "compact/la01-context.jsonld",
1527+
"expect": "compact/la01-out.jsonld"
1528+
}, {
15211529
"@id": "#tli01",
15221530
"@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ],
15231531
"name": "coerced @list containing an empty list",
@@ -1562,7 +1570,7 @@
15621570
"context": "compact/li05-context.jsonld",
15631571
"expect": "compact/li05-out.jsonld",
15641572
"option": {"specVersion": "json-ld-1.1"}
1565-
}, {
1573+
}, {
15661574
"@id": "#tm001",
15671575
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
15681576
"name": "Indexes to object not having an @id",

0 commit comments

Comments
 (0)