diff --git a/tests/test_json.py b/tests/test_json.py index 6980e67398..21bdc08b5e 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -905,10 +905,10 @@ def test_clear_dollar(client): }, ) # Test multi - assert client.json().clear("doc1", "$..a") == 3 + assert client.json().clear("doc1", "$..a") == 4 assert client.json().get("doc1", "$") == [ - {"nested1": {"a": {}}, "a": [], "nested2": {"a": "claro"}, "nested3": {"a": {}}} + {"nested1": {"a": {}}, "a": [], "nested2": {"a": ""}, "nested3": {"a": {}}} ] # Test single