Skip to content

Commit 988d2f7

Browse files
committed
Update compact/pr02 context so that "protected" terms are futher differentiated.
Fixes #401.
1 parent 2375e39 commit 988d2f7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/compact/pr02-context.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"@context": [{
33
"@vocab": "http://example.com/",
44
"@version": 1.1,
5-
"protected": {"@protected": true}
5+
"protected": {"@type": "@id", "@protected": true}
66
}, {
7-
"protected": "http://example.com/protected"
7+
"protected": {"@type": "@vocab"}
88
}]
99
}

tests/html-manifest.jsonld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
"option": {"specVersion": "json-ld-1.1", "extractAllScripts": true}
5656
}, {
5757
"@id": "#te006",
58-
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
58+
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
5959
"name": "Expands as empty with no embedded JSON-LD script elements",
6060
"purpose": "Tests embedded JSON-LD in HTML when none exist",
6161
"input": "html/e006-in.html",
62-
"expect": "html/e006-out.jsonld",
62+
"expectErrorCode": "loading document failed",
6363
"option": {"specVersion": "json-ld-1.1"}
6464
}, {
6565
"@id": "#te007",

0 commit comments

Comments
 (0)