Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/surface/concurrency.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ if (process.env.SKIP_CONC) {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
` solid:inserts { ${triple} .}.`,
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
` solid:inserts { ${triple} .}.\n`,
});
expectedRdf += `${triple}\n`;
promises.push(promise);
Expand Down
12 changes: 6 additions & 6 deletions test/surface/create-non-container.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ describe("Create non-container", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:inserts { <#hello> <#linked> <#world> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:inserts { <#hello> <#linked> <#world> .}.\n",
});
// console.log(result);
await new Promise((resolve) => setTimeout(resolve, waittime));
Expand Down Expand Up @@ -357,9 +357,9 @@ describe("Create non-container", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:inserts { <#hello> <#linked> <#world> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:inserts { <#hello> <#linked> <#world> .}.\n",
});
await new Promise((resolve) => setTimeout(resolve, 2000));
});
Expand Down
42 changes: 21 additions & 21 deletions test/surface/update.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:inserts { <#that> a <#fact> . }.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:inserts { <#that> a <#fact> . }.\n",
});
await new Promise((resolve) => setTimeout(resolve, waittime));
});
Expand Down Expand Up @@ -316,10 +316,10 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:deletes { <#hello> <#linked> <#world> .}." +
" solid:inserts { <#hello> <#linked> <#world> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:deletes { <#hello> <#linked> <#world> .};\n" +
" solid:inserts { <#hello> <#linked> <#world> .}.\n",
});
await new Promise((resolve) => setTimeout(resolve, waittime));
});
Expand Down Expand Up @@ -382,10 +382,10 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:deletes { <#hello> <#linked> <#world> .}." +
" solid:inserts { <#that> a <#fact> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:deletes { <#hello> <#linked> <#world> .};\n" +
" solid:inserts { <#that> a <#fact> .}.\n",
});
await new Promise((resolve) => setTimeout(resolve, waittime));
});
Expand Down Expand Up @@ -448,10 +448,10 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:deletes { <#something> <#completely> <#different> .}." +
" solid:inserts { <#that> a <#fact> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:deletes { <#something> <#completely> <#different> .};\n" +
" solid:inserts { <#that> a <#fact> .}.\n",
});
});

Expand Down Expand Up @@ -516,9 +516,9 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:deletes { <#hello> <#linked> <#world> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:deletes { <#hello> <#linked> <#world> .}.\n",
});
});

Expand Down Expand Up @@ -573,9 +573,9 @@ describe("Update", () => {
"Content-Type": "text/n3",
},
body:
"@prefix solid: <http://www.w3.org/ns/solid/terms#>." +
"#patch a solid:InsertDeletePatch;" +
" solid:deletes { <#something> <#completely> <#different> .}.",
"@prefix solid: <http://www.w3.org/ns/solid/terms#>.\n" +
"<#patch> a solid:InsertDeletePatch;\n" +
" solid:deletes { <#something> <#completely> <#different> .}.\n",
});
});

Expand Down