Skip to content

Commit 5d2ef3a

Browse files
committed
changing the integer in tests result for max, min and candinality into @value
1 parent 9fb7e95 commit 5d2ef3a

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
@@ -534,7 +534,7 @@ describe('triple builder chanier', function () {
534534
"db:schema"] },
535535
{ "add_quad": [ "scm:P_max",
536536
"owl:maxCardinality",
537-
4,
537+
{ "@value": "4", "@type": "xsd:nonNegativeInteger" },
538538
"db:schema"] } ] };
539539

540540
expect(woqlObject.json()).to.eql(jsonObj);
@@ -563,7 +563,7 @@ describe('triple builder chanier', function () {
563563
"db:schema"] },
564564
{ "add_quad": [ "scm:P_min",
565565
"owl:minCardinality",
566-
2,
566+
{ "@value": "2", "@type": "xsd:nonNegativeInteger" },
567567
"db:schema"] } ] };
568568

569569
expect(woqlObject.json()).to.eql(jsonObj);
@@ -592,7 +592,7 @@ describe('triple builder chanier', function () {
592592
"db:schema"] },
593593
{ "add_quad": [ "scm:P_cardinality",
594594
"owl:cardinality",
595-
3,
595+
{ "@value": "3", "@type": "xsd:nonNegativeInteger" },
596596
"db:schema"] } ] };
597597

598598
expect(woqlObject.json()).to.eql(jsonObj);

0 commit comments

Comments
 (0)