Skip to content

Commit 455238f

Browse files
committed
Add new and updated tests
1 parent cdf7bcc commit 455238f

File tree

256 files changed

+3011
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+3011
-176
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {"@id": "foo:input", "@container": "@graph"},
5+
"value": "foo:value"
6+
}
7+
}

ld/testdata/compact-0077-in.jsonld

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {"@id": "foo:input", "@container": "@graph"},
5+
"value": "foo:value"
6+
},
7+
"input": {
8+
"value": "x"
9+
}
10+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {
5+
"@id": "foo:input",
6+
"@container": "@graph"
7+
},
8+
"value": "foo:value"
9+
},
10+
"input": {
11+
"value": "x"
12+
}
13+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {"@id": "foo:input", "@container": ["@graph", "@set"]},
5+
"value": "foo:value"
6+
}
7+
}

ld/testdata/compact-0078-in.jsonld

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {"@id": "foo:input", "@container": "@graph"},
5+
"value": "foo:value"
6+
},
7+
"input": {
8+
"value": "x"
9+
}
10+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"input": {
5+
"@id": "foo:input",
6+
"@container": ["@graph", "@set"]
7+
},
8+
"value": "foo:value"
9+
},
10+
"input": [{
11+
"value": "x"
12+
}]
13+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"@context": {
3+
"@vocab": "http://example.org/",
4+
"input": {"@container": "@graph"}
5+
}
6+
}

ld/testdata/compact-0079-in.jsonld

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[{
2+
"http://example.org/input": [{
3+
"@graph": [{
4+
"http://example.org/value": [{"@value": "x"}]
5+
}],
6+
"@index": "ndx"
7+
}]
8+
}]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"@context": {
3+
"@vocab": "http://example.org/",
4+
"input": {"@container": "@graph"}
5+
},
6+
"input": {
7+
"value": "x"
8+
}
9+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"@context": {
3+
"@vocab": "http://example.org/",
4+
"input": {"@container": "@graph"}
5+
}
6+
}

0 commit comments

Comments
 (0)