Skip to content

Commit e705dbd

Browse files
committed
[Test] Clean up some tests for woql.js
1 parent 18f3212 commit e705dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/woql.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ describe('triple builder chanier', function () {
449449
const woqlObject2=WOQL.node("doc:x", "add_quad").graph("db:mySchema").label("my label", "en");
450450

451451
const jsonObj={};
452-
const jsonObj2={ add_quad: ['doc:x', 'rdfs:label', { '@value': 'my label', '@language': 'en' }, 'db:mySchema'] };
452+
const jsonObj2={ 'add_quad': ['doc:x', 'rdfs:label', { '@value': 'my label', '@language': 'en' }, 'db:mySchema'] };
453453

454454
expect(woqlObject.json()).to.eql(jsonObj);
455455
expect(woqlObject2.json()).to.eql(jsonObj2);
@@ -460,7 +460,7 @@ describe('triple builder chanier', function () {
460460

461461
const woqlObject=WOQL.node("doc:x", "add_quad").label("my label", "en");
462462

463-
const jsonObj={ add_quad: ['doc:x', 'rdfs:label', { '@value': 'my label', '@language': 'en' }, 'db:schema'] };
463+
const jsonObj={ 'add_quad': ['doc:x', 'rdfs:label', { '@value': 'my label', '@language': 'en' }, 'db:schema'] };
464464

465465
expect(woqlObject.json()).to.eql(jsonObj);
466466

@@ -499,7 +499,7 @@ describe('triple builder chanier', function () {
499499

500500
const woqlObject=WOQL.node("doc:x", "add_quad").property("myprop", "value");
501501

502-
const jsonObj={ add_quad: ['doc:x', 'scm:myprop', { '@value': 'value', '@language': 'en' }, 'db:schema'] };
502+
const jsonObj={ 'add_quad': ['doc:x', 'scm:myprop', { '@value': 'value', '@language': 'en' }, 'db:schema'] };
503503

504504
expect(woqlObject.json()).to.eql(jsonObj);
505505

0 commit comments

Comments
 (0)