Skip to content

Commit 950c9d5

Browse files
committed
Add more tests for jsonarrappend
1 parent 1c3760e commit 950c9d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_rejson.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def testArrAppendShouldSucceed(self):
102102

103103
rj.jsonset('arr', Path.rootPath(), [1])
104104
self.assertEqual(2, rj.jsonarrappend('arr', Path.rootPath(), 2))
105+
self.assertEqual(4, rj.jsonarrappend('arr', Path.rootPath(), 3, 4))
106+
self.assertEqual(7, rj.jsonarrappend('arr', Path.rootPath(), *[5, 6, 7]))
105107

106108
def testArrIndexShouldSucceed(self):
107109
"Test JSONSArrIndex"

0 commit comments

Comments
 (0)