|
1246 | 1246 | "option": {"specVersion": "json-ld-1.0"},
|
1247 | 1247 | "input": "compact/e001-in.jsonld",
|
1248 | 1248 | "context": "compact/e001-context.jsonld",
|
1249 |
| - "expect": "compaction to list of lists" |
| 1249 | + "expectErrorCode": "compaction to list of lists" |
1250 | 1250 | }, {
|
1251 | 1251 | "@id": "#te002",
|
1252 | 1252 | "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ],
|
|
1255 | 1255 | "option": {"specVersion": "json-ld-1.1"},
|
1256 | 1256 | "input": "compact/e002-in.jsonld",
|
1257 | 1257 | "context": "compact/e002-context.jsonld",
|
1258 |
| - "expect": "IRI confused with prefix" |
| 1258 | + "expectErrorCode": "IRI confused with prefix" |
1259 | 1259 | }, {
|
1260 | 1260 | "@id": "#ten01",
|
1261 | 1261 | "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ],
|
1262 | 1262 | "name": "Nest term not defined",
|
1263 | 1263 | "purpose": "Transparent Nesting",
|
1264 | 1264 | "input": "compact/en01-in.jsonld",
|
1265 | 1265 | "context": "compact/en01-context.jsonld",
|
1266 |
| - "expect": "invalid @nest value", |
| 1266 | + "expectErrorCode": "invalid @nest value", |
1267 | 1267 | "option": {"specVersion": "json-ld-1.1"}
|
1268 | 1268 | }, {
|
1269 | 1269 | "@id": "#tep05",
|
|
1272 | 1272 | "purpose": "If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.",
|
1273 | 1273 | "input": "compact/ep05-in.jsonld",
|
1274 | 1274 | "context": "compact/ep05-context.jsonld",
|
1275 |
| - "expect": "processing mode conflict", |
| 1275 | + "expectErrorCode": "processing mode conflict", |
1276 | 1276 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}
|
1277 | 1277 | }, {
|
1278 | 1278 | "@id": "#tep06",
|
|
1282 | 1282 | "option": {"specVersion": "json-ld-1.1"},
|
1283 | 1283 | "input": "compact/ep06-in.jsonld",
|
1284 | 1284 | "context": "compact/ep06-context.jsonld",
|
1285 |
| - "expect": "invalid @version value" |
| 1285 | + "expectErrorCode": "invalid @version value" |
1286 | 1286 | }, {
|
1287 | 1287 | "@id": "#tep07",
|
1288 | 1288 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1291 | 1291 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1292 | 1292 | "input": "compact/ep07-in.jsonld",
|
1293 | 1293 | "context": "compact/ep07-context.jsonld",
|
1294 |
| - "expect": "invalid term definition" |
| 1294 | + "expectErrorCode": "invalid term definition" |
1295 | 1295 | }, {
|
1296 | 1296 | "@id": "#tep08",
|
1297 | 1297 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1300 | 1300 | "option": {"specVersion": "json-ld-1.1"},
|
1301 | 1301 | "input": "compact/ep08-in.jsonld",
|
1302 | 1302 | "context": "compact/ep08-context.jsonld",
|
1303 |
| - "expect": "invalid @prefix value" |
| 1303 | + "expectErrorCode": "invalid @prefix value" |
1304 | 1304 | }, {
|
1305 | 1305 | "@id": "#tep09",
|
1306 | 1306 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1309 | 1309 | "option": {"specVersion": "json-ld-1.1"},
|
1310 | 1310 | "input": "compact/ep09-in.jsonld",
|
1311 | 1311 | "context": "compact/ep09-context.jsonld",
|
1312 |
| - "expect": "invalid term definition" |
| 1312 | + "expectErrorCode": "invalid term definition" |
1313 | 1313 | }, {
|
1314 | 1314 | "@id": "#tep10",
|
1315 | 1315 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1318 | 1318 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1319 | 1319 | "input": "compact/ep10-in.jsonld",
|
1320 | 1320 | "context": "compact/ep10-context.jsonld",
|
1321 |
| - "expect": "invalid term definition" |
| 1321 | + "expectErrorCode": "invalid term definition" |
1322 | 1322 | }, {
|
1323 | 1323 | "@id": "#tep11",
|
1324 | 1324 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1327 | 1327 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1328 | 1328 | "input": "compact/ep11-in.jsonld",
|
1329 | 1329 | "context": "compact/ep11-context.jsonld",
|
1330 |
| - "expect": "invalid term definition" |
| 1330 | + "expectErrorCode": "invalid term definition" |
1331 | 1331 | }, {
|
1332 | 1332 | "@id": "#tep12",
|
1333 | 1333 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1336 | 1336 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1337 | 1337 | "input": "compact/ep12-in.jsonld",
|
1338 | 1338 | "context": "compact/ep12-context.jsonld",
|
1339 |
| - "expect": "invalid container mapping" |
| 1339 | + "expectErrorCode": "invalid container mapping" |
1340 | 1340 | }, {
|
1341 | 1341 | "@id": "#tep13",
|
1342 | 1342 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1345 | 1345 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1346 | 1346 | "input": "compact/ep13-in.jsonld",
|
1347 | 1347 | "context": "compact/ep13-context.jsonld",
|
1348 |
| - "expect": "invalid container mapping" |
| 1348 | + "expectErrorCode": "invalid container mapping" |
1349 | 1349 | }, {
|
1350 | 1350 | "@id": "#tep14",
|
1351 | 1351 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1354 | 1354 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1355 | 1355 | "input": "compact/ep14-in.jsonld",
|
1356 | 1356 | "context": "compact/ep14-context.jsonld",
|
1357 |
| - "expect": "invalid container mapping" |
| 1357 | + "expectErrorCode": "invalid container mapping" |
1358 | 1358 | }, {
|
1359 | 1359 | "@id": "#tep15",
|
1360 | 1360 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1363 | 1363 | "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"},
|
1364 | 1364 | "input": "compact/ep15-in.jsonld",
|
1365 | 1365 | "context": "compact/ep15-context.jsonld",
|
1366 |
| - "expect": "invalid container mapping" |
| 1366 | + "expectErrorCode": "invalid container mapping" |
1367 | 1367 | }, {
|
1368 | 1368 | "@id": "#tin01",
|
1369 | 1369 | "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
|
|
1983 | 1983 | "option": {"specVersion": "json-ld-1.1"},
|
1984 | 1984 | "input": "compact/pr01-in.jsonld",
|
1985 | 1985 | "context": "compact/pr01-context.jsonld",
|
1986 |
| - "expect": "invalid context nullification" |
| 1986 | + "expectErrorCode": "invalid context nullification" |
1987 | 1987 | }, {
|
1988 | 1988 | "@id": "#tpr02",
|
1989 | 1989 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
1992 | 1992 | "option": {"specVersion": "json-ld-1.1"},
|
1993 | 1993 | "input": "compact/pr02-in.jsonld",
|
1994 | 1994 | "context": "compact/pr02-context.jsonld",
|
1995 |
| - "expect": "protected term redefinition" |
| 1995 | + "expectErrorCode": "protected term redefinition" |
1996 | 1996 | }, {
|
1997 | 1997 | "@id": "#tpr03",
|
1998 | 1998 | "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"],
|
|
2001 | 2001 | "option": {"specVersion": "json-ld-1.1"},
|
2002 | 2002 | "input": "compact/pr03-in.jsonld",
|
2003 | 2003 | "context": "compact/pr03-context.jsonld",
|
2004 |
| - "expect": "protected term redefinition" |
| 2004 | + "expectErrorCode": "protected term redefinition" |
2005 | 2005 | }, {
|
2006 | 2006 | "@id": "#tpr04",
|
2007 | 2007 | "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
|
|
0 commit comments