@@ -449,7 +449,7 @@ describe('triple builder chanier', function () {
449
449
const woqlObject2 = WOQL . node ( "doc:x" , "add_quad" ) . graph ( "db:mySchema" ) . label ( "my label" , "en" ) ;
450
450
451
451
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' ] } ;
453
453
454
454
expect ( woqlObject . json ( ) ) . to . eql ( jsonObj ) ;
455
455
expect ( woqlObject2 . json ( ) ) . to . eql ( jsonObj2 ) ;
@@ -460,7 +460,7 @@ describe('triple builder chanier', function () {
460
460
461
461
const woqlObject = WOQL . node ( "doc:x" , "add_quad" ) . label ( "my label" , "en" ) ;
462
462
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' ] } ;
464
464
465
465
expect ( woqlObject . json ( ) ) . to . eql ( jsonObj ) ;
466
466
@@ -499,7 +499,7 @@ describe('triple builder chanier', function () {
499
499
500
500
const woqlObject = WOQL . node ( "doc:x" , "add_quad" ) . property ( "myprop" , "value" ) ;
501
501
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' ] } ;
503
503
504
504
expect ( woqlObject . json ( ) ) . to . eql ( jsonObj ) ;
505
505
0 commit comments