Skip to content

Commit 7d5908d

Browse files
committed
[Test] Fix test for comment methog in woql.js
1 parent f794a96 commit 7d5908d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/woql.spec.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,13 @@ describe('triple builder chanier', function () {
466466

467467
const woqlObject=WOQL.node("doc:x", "add_quad").comment("my comment");
468468

469-
const jsonObj={ "comment": "my comment" };
469+
const jsonObj={ "comment": [
470+
{
471+
"@language": "en",
472+
"@value": "my comment"
473+
},
474+
{}
475+
] };
470476

471477
expect(woqlObject.json()).to.eql(jsonObj);
472478

0 commit comments

Comments
 (0)