Skip to content

Commit 0aacb5f

Browse files
davidlehngkellogg
authored andcommitted
Add toRdf test for expand e051.
1 parent 53b1024 commit 0aacb5f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/toRdf-manifest.jsonld

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,13 @@
10991099
"purpose": "Verifies that an exception is raised in Expansion when an invalid IRI is used for @reverse.",
11001100
"input": "toRdf/ee50-in.jsonld",
11011101
"expectErrorCode": "invalid IRI mapping"
1102+
}, {
1103+
"@id": "#tee51",
1104+
"@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"],
1105+
"name": "Invalid value object value using a value alias",
1106+
"purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found using a value alias",
1107+
"input": "toRdf/ee51-in.jsonld",
1108+
"expectErrorCode": "invalid value object value"
11021109
}, {
11031110
"@id": "#te051",
11041111
"@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],

tests/toRdf/ee51-in.jsonld

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"@context": {"value": "@value"},
3+
"http://example/prop": {"value": ["foo"]}
4+
}

0 commit comments

Comments
 (0)