Skip to content

Commit

Permalink
Default JSON-LD fromRdf specVersion to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Mar 22, 2020
1 parent c551649 commit feff659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/testcase/rdfsyntax/jsonld/TestCaseJsonLdFromRdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class TestCaseJsonLdFromRdfHandler implements ITestCaseHandler<TestCaseJs
let useNativeTypes: boolean = false;
let useRdfType: boolean = false;
let processingMode: string = null;
let specVersion: string = '1.0';
let specVersion: string;
for (const option of resource.properties.jsonLdOptions) {
// Should native types be used?
if (option.property.useNativeTypes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ describe('TestCaseJsonLdFromRdfHandler', () => {
processingMode: null,
useNativeTypes: false,
useRdfType: false,
specVersion: "1.0",
specVersion: undefined,
});
});

Expand Down

0 comments on commit feff659

Please sign in to comment.