torwig commented on code in PR #1856:
URL: https://github.com/apache/kvrocks/pull/1856#discussion_r1371484841


##########
tests/gocase/unit/type/json/json_test.go:
##########
@@ -152,4 +152,36 @@ func TestJson(t *testing.T) {
                require.NoError(t, err)
        })
 
+       t.Run("JSON.ARRLEN basics", func(t *testing.T) {
+               require.NoError(t, rdb.Do(ctx, "JSON.SET", "a", "$", 
`{"a1":[1,2],"a2":[[1,5,7],[8],[9]],"i":1,"s":"string","o":{"a3":[1,1,1]}}`).Err())

Review Comment:
   You also can add the command to delete the key (`a`) at the beginning of the 
test to prevent any naming clashes now or in the future.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to